mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
Merge branch 'bw/test-fix-grep-gnuism'
Fix two places that were the only place in the test suite that gave "a\+" to platform grep and expected it to mean one or more "a", which is a blatant GNUism. * bw/test-fix-grep-gnuism: t9400: fix gnuism in grep
This commit is contained in:
commit
e22a81ca54
|
@ -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
|
||||
'
|
||||
|
||||
#------------
|
||||
|
|
Loading…
Reference in a new issue