mirror of
https://github.com/git/git.git
synced 2024-11-20 15:23:58 +01:00
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>
This commit is contained in:
parent
09651dd86e
commit
b0f2ecf593
@ -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…
Reference in New Issue
Block a user