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>
Fabian Emmes committed
Jul 17, 2008 at 19:00 UTC
42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb
1 file changed
+11
t/t9400-git-cvsserver-server.sh
+11
@@ -470,4 +470,15 @@ test_expect_success 'cvs status (no subdirs in header)' '
470
! grep / <../out
471
'
472
473
+#------------
474
+# CVS CHECKOUT
475
+#------------
476
+
477
+cd "$WORKDIR"
478
+test_expect_success 'cvs co -c (shows module database)' '
479
+ GIT_CONFIG="$git_config" cvs co -c > out &&
480
+ grep "^master[ ]\+master$" < out &&
481
+ ! grep -v "^master[ ]\+master$" < out
482
+'
483
+
484
test_done