@matheusbsbs / matheus-bagliano / commits / b0f2ecf593
Fork 0

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>

Lars Noschinski committed Jul 17, 2008 at 19:00 UTC b0f2ecf5935335ba72f406bfc88634142c5694cd
1 file changed +7
t/t9400-git-cvsserver-server.sh
+7
@@ -438,6 +438,13 @@ test_expect_success 'cvs update (-p)' '
438 test -z "$(cat failures)"
439 '
440
441 +cd "$WORKDIR"
442 +test_expect_success 'cvs update (module list supports packed refs)' '
443 + GIT_DIR="$SERVERDIR" git pack-refs --all &&
444 + GIT_CONFIG="$git_config" cvs -n up -d 2> out &&
445 + grep "cvs update: New directory \`master'\''" < out
446 +'
447 +
448 #------------
449 # CVS STATUS
450 #------------