From: Lars Noschinski Date: Thu, 17 Jul 2008 17:00:28 +0000 (+0200) Subject: cvsserver: Add testsuite for packed refs X-Git-Tag: v1.6.0-rc0~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0f2ecf5935335ba72f406bfc88634142c5694cd;p=git.git 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 --- 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 #------------