diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 7706430d81e62e70d7124234e89b54fc65caa7d5..0b115a17ab46e02ca7ec67f08feada0c48c8628a 100755 (executable)
--- a/t/t9600-cvsimport.sh
+++ b/t/t9600-cvsimport.sh
test_description='git-cvsimport basic tests'
. ./test-lib.sh
test_description='git-cvsimport basic tests'
. ./test-lib.sh
+CVSROOT=$(pwd)/cvsroot
+export CVSROOT
+# for clean cvsps cache
+HOME=$(pwd)
+export HOME
+
if ! type cvs >/dev/null 2>&1
then
say 'skipping cvsimport tests, cvs not found'
if ! type cvs >/dev/null 2>&1
then
say 'skipping cvsimport tests, cvs not found'
;;
esac
;;
esac
-CVSROOT=$(pwd)/cvsroot
-export CVSROOT
-# for clean cvsps cache
-HOME=$(pwd)
-export HOME
-
test_expect_success 'setup cvsroot' 'cvs init'
test_expect_success 'setup a cvs module' '
test_expect_success 'setup cvsroot' 'cvs init'
test_expect_success 'setup a cvs module' '
- mkdir $CVSROOT/module &&
+ mkdir "$CVSROOT/module" &&
cvs co -d module-cvs module &&
cd module-cvs &&
cat <<EOF >o_fortuna &&
cvs co -d module-cvs module &&
cd module-cvs &&
cat <<EOF >o_fortuna &&