aboutsummaryrefslogtreecommitdiff
path: root/t/t0000-basic.sh
diff options
context:
space:
mode:
authorMark Allen <mrallen1@yahoo.com>2005-05-25 19:11:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 19:37:10 -0700
commit368da62598b30a521970866327ce493e34f7f590 (patch)
tree5bf62fbb926ae751c9320c1371f34499f45e027b /t/t0000-basic.sh
parentbd1e17e245153fdc75feaaf5e556b922d98ca699 (diff)
downloadgit-368da62598b30a521970866327ce493e34f7f590.tar.gz
git-368da62598b30a521970866327ce493e34f7f590.tar.xz
[PATCH] Test case portability fix.
This is the remainder of testcase fix by Mark Allen to make them work on his Darwin box. I was using "xargs -r" (GNU) where it was not needed, sed -ne '/^\(author\|committer\)/s|>.*|>|p' where some sed does not know what to do with '\|', and also "cmp - file" to compare standard input with a file, which his cmp does not support. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-xt/t0000-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 88a9a0031..b521f513f 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -84,7 +84,7 @@ do
done
test_expect_success \
'adding various types of objects with git-update-cache --add.' \
- 'find path* ! -type d -print0 | xargs -0 -r git-update-cache --add'
+ 'find path* ! -type d -print0 | xargs -0 git-update-cache --add'
# Show them and see that matches what we expect.
test_expect_success \