* [PATCH] t9200: let "cvs init" create the test repository
@ 2012-12-25 1:09 Junio C Hamano
2012-12-25 1:49 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Junio C Hamano @ 2012-12-25 1:09 UTC (permalink / raw)
To: git
Some platforms (e.g. NetBSD 6.3) seem to configure their CVS to
allow "cvs init" in an existing directory only to members of
"cvsadmin".
Instead of preparing an empty directory and then running "cvs init"
on it, let's run "cvs init" and let it create the necessary
directory.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
t/t9200-git-cvsexportcommit.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index b59be9a..c5368a3 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -25,8 +25,9 @@ GIT_DIR=$PWD/.git
export CVSROOT CVSWORK GIT_DIR
rm -rf "$CVSROOT" "$CVSWORK"
-mkdir "$CVSROOT" &&
+
cvs init &&
+test -d "$CVSROOT" &&
cvs -Q co -d "$CVSWORK" . &&
echo >empty &&
git add empty &&
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] t9200: let "cvs init" create the test repository
2012-12-25 1:09 [PATCH] t9200: let "cvs init" create the test repository Junio C Hamano
@ 2012-12-25 1:49 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-12-25 1:49 UTC (permalink / raw)
To: git
Junio C Hamano <gitster@pobox.com> writes:
> Some platforms (e.g. NetBSD 6.3) seem to configure their CVS to
s/6.3/6.0/; sorry for the noise.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-25 1:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-25 1:09 [PATCH] t9200: let "cvs init" create the test repository Junio C Hamano
2012-12-25 1:49 ` Junio C Hamano
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).