Skip to content

Commit 8666df0

Browse files
committed
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 <[email protected]>
1 parent c2999ad commit 8666df0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t9200-git-cvsexportcommit.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ GIT_DIR=$PWD/.git
2525
export CVSROOT CVSWORK GIT_DIR
2626

2727
rm -rf "$CVSROOT" "$CVSWORK"
28-
mkdir "$CVSROOT" &&
28+
2929
cvs init &&
30+
test -d "$CVSROOT" &&
3031
cvs -Q co -d "$CVSWORK" . &&
3132
echo >empty &&
3233
git add empty &&

0 commit comments

Comments
 (0)