aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFabian Emmes <fabian.emmes@rwth-aachen.de>2008-07-17 19:00:30 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-19 11:17:43 -0700
commit42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb (patch)
tree34364962c21e9326982df13747e000cec2519141 /t
parent89a9167fac209649116a6e1b7a39b4f4c974f86b (diff)
downloadgit-42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb.tar.gz
git-42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb.tar.xz
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t9400-git-cvsserver-server.sh11
1 files changed, 11 insertions, 0 deletions
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