Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-27 22:06:43 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-27 22:08:57 +0300
commite9add360074068eac974c5a69f91ae78a30606e9 (patch)
tree4a993a570899dce3cea2cce1b63955ac98b09d89 /t/t6003-rev-list-topo-order.sh
parent8eafa3da62297eb91741321281fd3fb2a4236e97 (diff)
Fix bogus tests on rev-list output.
These tests seem to mean checking the output with expected result, but was not doing its handrolled test helper function. Also fix the guard to workaround wc output that have whitespace padding, which was broken but not exposed because the test was not testing it ;-). Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t6003-rev-list-topo-order.sh')
-rwxr-xr-xt/t6003-rev-list-topo-order.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh
index 98f9a1e677..d99a9ad39e 100755
--- a/t/t6003-rev-list-topo-order.sh
+++ b/t/t6003-rev-list-topo-order.sh
@@ -79,7 +79,7 @@ save_tag g4 unique_commit g6 tree -p g3 -p h2
git-update-ref HEAD $(tag l5)
-test_expect_success 'rev-list has correct number of entries' 'git-rev-list HEAD | wc -l | tr -s " "' <<EOF
+test_output_expect_success 'rev-list has correct number of entries' 'git-rev-list HEAD | wc -l | tr -d \" \"' <<EOF
19
EOF