t/{t5541,lib-httpd}: replace problematic '!()' notation with test_must_fail
[gitweb.git] / t / t4122-apply-symlink-inside.sh
index 841773f75fc085d07836b39b3775f49bde5d8d19..923fcab7f96a76ee7038bfcb20b1270565bc2230 100755 (executable)
@@ -3,6 +3,12 @@
 test_description='apply to deeper directory without getting fooled with symlink'
 . ./test-lib.sh
 
+if ! test_have_prereq SYMLINKS
+then
+       skip_all='Symbolic links not supported, skipping tests.'
+       test_done
+fi
+
 lecho () {
        for l_
        do