@matheusbsbs / matheus-bagliano / commits / 70f64148bf
Fork 0

Fix t5701-clone-local for white space from wc

Signed-off-by: Brian Gernhardt <benji@silverinsanity.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brian Gernhardt committed Aug 11, 2007 at 15:24 UTC 70f64148bf7ca5136f2aa18c41b3b8f4bebfd138
1 file changed +2 -2
t/t5701-clone-local.sh
+2 -2
@@ -48,7 +48,7 @@ test_expect_success 'With -no-hardlinks, local will make a copy' '
48 git clone --bare --no-hardlinks x w &&
49 cd w &&
50 linked=$(find objects -type f ! -links 1 | wc -l) &&
51 - test "$linked" = 0
51 + test 0 = $linked
52 '
53
54 test_expect_success 'Even without -l, local will make a hardlink' '
@@ -57,7 +57,7 @@ test_expect_success 'Even without -l, local will make a hardlink' '
57 git clone -l --bare x w &&
58 cd w &&
59 copied=$(find objects -type f -links 1 | wc -l) &&
60 - test "$copied" = 0
60 + test 0 = $copied
61 '
62
63 test_done