From b0f2ecf5935335ba72f406bfc88634142c5694cd Mon Sep 17 00:00:00 2001 From: Lars Noschinski Date: Thu, 17 Jul 2008 19:00:28 +0200 Subject: [PATCH] cvsserver: Add testsuite for packed refs Check that req_update shows refs, even if all refs are packed. Signed-off-by: Lars Noschinski Signed-off-by: Junio C Hamano --- t/t9400-git-cvsserver-server.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 #------------ -- 2.26.2