projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da660f
)
Fix t5701-clone-local for white space from wc
author
Brian Gernhardt
<benji@silverinsanity.com>
Sat, 11 Aug 2007 19:24:29 +0000
(15:24 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 13 Aug 2007 23:47:38 +0000
(16:47 -0700)
Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5701-clone-local.sh
patch
|
blob
|
history
diff --git
a/t/t5701-clone-local.sh
b/t/t5701-clone-local.sh
index a3026ec4fcc653ff6a5a14bd84c1b3cc92078b6b..56f9d8ae734b130f3d6b978f00eeeaf8df2a2873 100755
(executable)
--- a/
t/t5701-clone-local.sh
+++ b/
t/t5701-clone-local.sh
@@
-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' '
@@
-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