From: Junio C Hamano Date: Tue, 27 Dec 2005 19:06:43 +0000 (-0800) Subject: Fix bogus tests on rev-list output. X-Git-Tag: v1.0.6^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e9add360074068eac974c5a69f91ae78a30606e9;p=git.git 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 --- diff --git a/t/t6001-rev-list-merge-order.sh b/t/t6001-rev-list-merge-order.sh index 8ec9ebb9..368b8d9e 100755 --- a/t/t6001-rev-list-merge-order.sh +++ b/t/t6001-rev-list-merge-order.sh @@ -110,7 +110,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 " "' <