testsuite for cvs co -c
Check that all branches are displayed. Signed-off-by: Fabian Emmes <fabian.emmes@rwth-aachen.de> Signed-off-by: Lars Noschinski <lars@public.noschinski.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
89a9167fac
commit
42f7a2dae8
@ -470,4 +470,15 @@ test_expect_success 'cvs status (no subdirs in header)' '
|
||||
! grep / <../out
|
||||
'
|
||||
|
||||
#------------
|
||||
# CVS CHECKOUT
|
||||
#------------
|
||||
|
||||
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
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Loading…
Reference in New Issue
Block a user