summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90ed6c0)
raw | patch | inline | side by side (parent: 90ed6c0)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 5 Jan 2008 06:28:13 +0000 (22:28 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 5 Jan 2008 08:07:57 +0000 (00:07 -0800) |
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>
would have less dependency on external tools.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3600-rm.sh | patch | blob | history | |
t/t3800-mktag.sh | patch | blob | history | |
t/t5401-update-hooks.sh | patch | blob | history |
diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh
index 5c001aa4897a02098904f2c492b23690a9e1f6ab..b1ee622ef7887407c93bc55d95827f9eb7a2b951 100755 (executable)
--- a/t/t3600-rm.sh
+++ b/t/t3600-rm.sh
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"
'
diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh
index 261f199a0cb32864bbb3cf103ddd2a63e62d2590..e5f3073f88059aa0b9921aeee9438efa38b4bf17 100755 (executable)
--- a/t/t3800-mktag.sh
+++ b/t/t3800-mktag.sh
test_expect_success \
"$1" \
'git-mktag <tag.sig 2>message ||
- egrep -q -f expect.pat message'
+ grep -q -f expect.pat message'
}
###########################################################
index c5dd30d0a43a708722cf4868a83c48290f9b9c9b..3eea3069ebcc20f98bb563af409bb1e15b6e9f54 100755 (executable)
--- a/t/t5401-update-hooks.sh
+++ b/t/t5401-update-hooks.sh
STDERR post-update
EOF
test_expect_success 'send-pack stderr contains hook messages' '
- egrep ^STD send.err >actual &&
+ grep ^STD send.err >actual &&
git diff - actual <expect
'