diff options
author | Lars Noschinski <lars@public.noschinski.de> | 2008-07-17 19:00:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-20 11:24:44 -0700 |
commit | b0f2ecf5935335ba72f406bfc88634142c5694cd (patch) | |
tree | f4f75c326eeeffbac0240381696c67bf525b16ac /t/t9400-git-cvsserver-server.sh | |
parent | 09651dd86eb07d1d6f1a2e88fe7b4860891808c1 (diff) | |
download | git-b0f2ecf5935335ba72f406bfc88634142c5694cd.tar.gz |
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-x | t/t9400-git-cvsserver-server.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh index d49f0df8c4..4b91f8d4c4 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 #------------ |