Skip to content

Commit

Permalink
Fix t5701-clone-local for white space from wc
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brian Gernhardt authored and Junio C Hamano committed Aug 13, 2007
1 parent 7da660f commit 70f6414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t5701-clone-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test_expect_success 'With -no-hardlinks, local will make a copy' '
git clone --bare --no-hardlinks x w &&
cd w &&
linked=$(find objects -type f ! -links 1 | wc -l) &&
test "$linked" = 0
test 0 = $linked
'

test_expect_success 'Even without -l, local will make a hardlink' '
Expand All @@ -57,7 +57,7 @@ test_expect_success 'Even without -l, local will make a hardlink' '
git clone -l --bare x w &&
cd w &&
copied=$(find objects -type f -links 1 | wc -l) &&
test "$copied" = 0
test 0 = $copied
'

test_done

0 comments on commit 70f6414

Please sign in to comment.