aboutsummaryrefslogtreecommitdiff
path: root/t/t9400-git-cvsserver-server.sh
diff options
context:
space:
mode:
authorLars Noschinski <lars@public.noschinski.de>2008-07-17 19:00:28 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-20 11:24:44 -0700
commitb0f2ecf5935335ba72f406bfc88634142c5694cd (patch)
treef4f75c326eeeffbac0240381696c67bf525b16ac /t/t9400-git-cvsserver-server.sh
parent09651dd86eb07d1d6f1a2e88fe7b4860891808c1 (diff)
downloadgit-b0f2ecf5935335ba72f406bfc88634142c5694cd.tar.gz
git-b0f2ecf5935335ba72f406bfc88634142c5694cd.tar.xz
cvsserver: Add testsuite for packed refs
Check that req_update shows refs, even if all refs are packed. Signed-off-by: Lars Noschinski <lars@public.noschinski.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9400-git-cvsserver-server.sh')
-rwxr-xr-xt/t9400-git-cvsserver-server.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh
index d49f0df8c..4b91f8d4c 100755
--- a/t/t9400-git-cvsserver-server.sh
+++ b/t/t9400-git-cvsserver-server.sh
@@ -438,6 +438,13 @@ test_expect_success 'cvs update (-p)' '
test -z "$(cat failures)"
'
+cd "$WORKDIR"
+test_expect_success 'cvs update (module list supports packed refs)' '
+ GIT_DIR="$SERVERDIR" git pack-refs --all &&
+ GIT_CONFIG="$git_config" cvs -n up -d 2> out &&
+ grep "cvs update: New directory \`master'\''" < out
+'
+
#------------
# CVS STATUS
#------------