mirror of
https://github.com/git/git
synced 2024-09-12 21:04:12 +00:00
t9400: fix gnuism in grep
Using "\+" in "grep" and expecting that it means one or more is a GNUism. Spell it in a dumb and portable way. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
b1bcfbe344
commit
27187817e4
|
@ -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