aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorBert Wesarg <bert.wesarg@googlemail.com>2009-11-18 17:15:19 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-07 11:05:18 -0800
commit5565f47c4054e9a1abfad8c4a754e9a6224dc591 (patch)
treed3f70dee65edfdc77e947bb63b9502848e7cb44c /t
parent5d005922bc781c1f6ec9ae0af466f308a7576612 (diff)
downloadgit-5565f47c4054e9a1abfad8c4a754e9a6224dc591.tar.gz
git-5565f47c4054e9a1abfad8c4a754e9a6224dc591.tar.xz
unset GREP_OPTIONS in test-lib.sh
I used to set GREP_OPTIONS to exclude *.orig and *.rej files. But with this the test t4252-am-options.sh fails because it calls grep with a .rej file: grep "@@ -1,3 +1,3 @@" file-2.rej Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/test-lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index afd3053f9..a0e396a95 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -65,6 +65,8 @@ GIT_TEST_CMP=${GIT_TEST_CMP:-diff -u}
# CDPATH into the environment
unset CDPATH
+unset GREP_OPTIONS
+
case $(echo $GIT_TRACE |tr "[A-Z]" "[a-z]") in
1|2|true)
echo "* warning: Some tests will not work if GIT_TRACE" \