]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/t0109-gitconfig.sh
tests: skip tests if strace is not functional
[ps-cgit] / tests / t0109-gitconfig.sh
index 3ba668490d977876f223b5d6262bb16f35e8f52b..8cee75cd00b3a2a947b238263b24fa80cd4da417 100755 (executable)
@@ -9,6 +9,12 @@ test -n "$(which strace 2>/dev/null)" || {
        exit
 }
 
        exit
 }
 
+strace true 2>/dev/null || {
+       skip_all='Skipping access validation tests: strace not functional'
+       test_done
+       exit
+}
+
 test_no_home_access () {
        non_existent_path="/path/to/some/place/that/does/not/possibly/exist"
        while test -d "$non_existent_path"; do
 test_no_home_access () {
        non_existent_path="/path/to/some/place/that/does/not/possibly/exist"
        while test -d "$non_existent_path"; do