X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9600-cvsimport.sh;h=0b115a17ab46e02ca7ec67f08feada0c48c8628a;hb=29313449f726f13ecc562cea9856645eade8e3e9;hp=7706430d81e62e70d7124234e89b54fc65caa7d5;hpb=4698ef555a1706fe322a68a02a21fb1087940ac3;p=git.git diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh index 7706430d8..0b115a17a 100755 --- a/t/t9600-cvsimport.sh +++ b/t/t9600-cvsimport.sh @@ -3,6 +3,12 @@ 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' @@ -26,17 +32,11 @@ case "$cvsps_version" in ;; 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' ' - mkdir $CVSROOT/module && + mkdir "$CVSROOT/module" && cvs co -d module-cvs module && cd module-cvs && cat <o_fortuna &&