Merge branch 'jk/pathspec-literal'
[gitweb.git] / t / t9200-git-cvsexportcommit.sh
index b59be9a894b2481ece7dc5ea9038bc6c88d29f15..3fb3368903686c8588c51e881beaee1f29808575 100755 (executable)
@@ -19,14 +19,15 @@ then
     test_done
 fi
 
-CVSROOT=$PWD/cvsroot
+CVSROOT=$PWD/tmpcvsroot
 CVSWORK=$PWD/cvswork
 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 &&