t/t1304-default-acl: change from skip_all=* to prereq skip
[gitweb.git] / t / lib-patch-mode.sh
old mode 100755 (executable)
new mode 100644 (file)
index afb4b66..375e248
@@ -1,5 +1,12 @@
+: included from t2016 and others
+
 . ./test-lib.sh
 
+if ! test_have_prereq PERL; then
+       skip_all='skipping --patch tests, perl not available'
+       test_done
+fi
+
 set_state () {
        echo "$3" > "$1" &&
        git add "$1" &&