diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-01-05 07:28:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-05 09:07:57 +0100 |
commit | 0feb4d1c99ef4188123ff38d702bcbdd483c3702 (patch) | |
tree | 51ab8331e425083c03a18304b3a80104f884e4b0 /t/t3600-rm.sh | |
parent | t/t7001: avoid unnecessary ERE when using grep (diff) | |
download | git-0feb4d1c99ef4188123ff38d702bcbdd483c3702.tar.xz git-0feb4d1c99ef4188123ff38d702bcbdd483c3702.zip |
t/t{3600,3800,5401}: do not use egrep when grep would do
There is nothing _wrong_ with egrep per se, but this way we
would have less dependency on external tools.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3600-rm.sh')
-rwxr-xr-x | t/t3600-rm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh index 5c001aa489..b1ee622ef7 100755 --- a/t/t3600-rm.sh +++ b/t/t3600-rm.sh @@ -127,7 +127,7 @@ test_expect_success '"rm" command printed' ' git add test-file && git commit -m "add file for rm test" && git rm test-file > rm-output && - test `egrep "^rm " rm-output | wc -l` = 1 && + test `grep "^rm " rm-output | wc -l` = 1 && rm -f test-file rm-output && git commit -m "remove file from rm test" ' |