From: Lars Noschinski <lars@public.noschinski.de>
To: git@vger.kernel.org, gitster@pobox.com
Cc: lars@public.noschinski.de, fabian.emmes@rwth-aachen.de
Subject: [PATCH] cvsserver: Add testsuite for packed refs
Date: Thu, 17 Jul 2008 19:00:28 +0200 [thread overview]
Message-ID: <1216314030-10887-4-git-send-email-lars@public.noschinski.de> (raw)
In-Reply-To: <1216314030-10887-3-git-send-email-lars@public.noschinski.de>
Check that req_update shows refs, even if all refs are packed.
Signed-off-by: Lars Noschinski <lars@public.noschinski.de>
---
t/t9400-git-cvsserver-server.sh | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh
index e97aaa6..8120087 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
#------------
--
1.5.6.2
next prev parent reply other threads:[~2008-07-17 17:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 17:00 Some cvs related fixes and enhancements v2 Lars Noschinski
2008-07-17 17:00 ` [PATCH] Testsuite: Unset CVS_SERVER Lars Noschinski
2008-07-17 17:00 ` [PATCH] cvsserver: Add support for packed refs Lars Noschinski
2008-07-17 17:00 ` Lars Noschinski [this message]
2008-07-17 17:00 ` [PATCH] cvsserver: Add cvs co -c support Lars Noschinski
2008-07-17 17:00 ` [PATCH] testsuite for cvs co -c Lars Noschinski
-- strict thread matches above, loose matches on Subject: below --
2008-07-17 10:01 Some cvs related fixes and enhancements Lars Noschinski
2008-07-17 10:01 ` [PATCH] Testsuite: Unset CVS_SERVER Lars Noschinski
2008-07-17 10:01 ` [PATCH] cvsserver: Add support for packed refs Lars Noschinski
2008-07-17 10:01 ` [PATCH] cvsserver: Add testsuite " Lars Noschinski
2008-07-17 11:54 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1216314030-10887-4-git-send-email-lars@public.noschinski.de \
--to=lars@public.noschinski.de \
--cc=fabian.emmes@rwth-aachen.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).