t/t7005-editor: change from skip_all=* to prereq skip
[gitweb.git] / t / lib-patch-mode.sh
index 06c3c9176207af6c27c924377f29cc2bd0c881e5..375e2486511656df4294f0a4b750fd8d3f16d273 100644 (file)
@@ -2,6 +2,11 @@
 
 . ./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" &&