summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-10 10:32:15 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-10 10:32:15 -0700
commit6331da9707e45b1376cf76c9b823f0b7ee9ae9de (patch)
tree9469c8e5f1076de1f34c3f34d2e04bfa088c2476 /t
parent8cde60210dd01f23d89d9eb8b6f08fb9ef3a11b8 (diff)
parent27187817e4527696e513afcbec7e0503a89ec93a (diff)
downloadgit-6331da9707e45b1376cf76c9b823f0b7ee9ae9de.tar.gz
Merge branch 'bw/test-fix-grep-gnuism' into maint
* bw/test-fix-grep-gnuism: t9400: fix gnuism in grep
Diffstat (limited to 't')
-rwxr-xr-xt/t9400-git-cvsserver-server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh
index 9199550ef4..173bf3d4af 100755
--- a/t/t9400-git-cvsserver-server.sh
+++ b/t/t9400-git-cvsserver-server.sh
@@ -500,8 +500,8 @@ test_expect_success 'cvs status (no subdirs in header)' '
cd "$WORKDIR"
test_expect_success 'cvs co -c (shows module database)' '
GIT_CONFIG="$git_config" cvs co -c > out &&
- grep "^master[ ]\+master$" < out &&
- ! grep -v "^master[ ]\+master$" < out
+ grep "^master[ ][ ]*master$" <out &&
+ ! grep -v "^master[ ][ ]*master$" <out
'
#------------