From 42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb Mon Sep 17 00:00:00 2001 From: Fabian Emmes Date: Thu, 17 Jul 2008 19:00:30 +0200 Subject: [PATCH] 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 --- t/t9400-git-cvsserver-server.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh index e97aaa6c2a..d49f0df8c4 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 -- 2.11.4.GIT