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
parent
09651dd86e
commit
b0f2ecf593
|
@ -438,6 +438,13 @@ test_expect_success 'cvs update (-p)' '
|
||||||
test -z "$(cat failures)"
|
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
|
# CVS STATUS
|
||||||
#------------
|
#------------
|
||||||
|
|
Loading…
Reference in New Issue