Browse Source

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>
maint
Lars Noschinski 17 years ago committed by Junio C Hamano
parent
commit
b0f2ecf593
  1. 7
      t/t9400-git-cvsserver-server.sh

7
t/t9400-git-cvsserver-server.sh

@ -438,6 +438,13 @@ test_expect_success 'cvs update (-p)' ' @@ -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
#------------

Loading…
Cancel
Save