t9200: let "cvs init" create the test repository

Some platforms (e.g. NetBSD 6.0) 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>

Junio C Hamano committed Dec 24, 2012 at 17:09 UTC 8666df02dae889105b2d54aa08795aea1fbfa8c7
1 file changed +2 -1
t/t9200-git-cvsexportcommit.sh
+2 -1
@@ -25,8 +25,9 @@ GIT_DIR=$PWD/.git
25 export CVSROOT CVSWORK GIT_DIR
26
27 rm -rf "$CVSROOT" "$CVSWORK"
28 -mkdir "$CVSROOT" &&
28 +
29 cvs init &&
30 +test -d "$CVSROOT" &&
31 cvs -Q co -d "$CVSWORK" . &&
32 echo >empty &&
33 git add empty &&