From: Fabian Emmes Date: Thu, 17 Jul 2008 17:00:30 +0000 (+0200) Subject: testsuite for cvs co -c X-Git-Tag: v1.6.0-rc0~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb;p=git.git testsuite for cvs co -c Check that all branches are displayed. Signed-off-by: Fabian Emmes Signed-off-by: Lars Noschinski Signed-off-by: Junio C Hamano --- diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh index e97aaa6c2..d49f0df8c 100755 --- a/t/t9400-git-cvsserver-server.sh +++ b/t/t9400-git-cvsserver-server.sh @@ -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