t/{t5541,lib-httpd}: replace problematic '!()' notation with test_must_fail
[gitweb.git] / t / lib-cvs.sh
index 1f73c07df8573aa356fbc17109bc44a387455343..648d1619c86bb676faadf62bd831683cb46d6be2 100644 (file)
@@ -9,9 +9,8 @@ export HOME
 
 if ! type cvs >/dev/null 2>&1
 then
-       say 'skipping cvsimport tests, cvs not found'
+       skip_all='skipping cvsimport tests, cvs not found'
        test_done
-       exit
 fi
 
 CVS="cvs -f"
@@ -22,14 +21,12 @@ case "$cvsps_version" in
 2.1 | 2.2*)
        ;;
 '')
-       say 'skipping cvsimport tests, cvsps not found'
+       skip_all='skipping cvsimport tests, cvsps not found'
        test_done
-       exit
        ;;
 *)
-       say 'skipping cvsimport tests, unsupported cvsps version'
+       skip_all='skipping cvsimport tests, unsupported cvsps version'
        test_done
-       exit
        ;;
 esac