summaryrefslogtreecommitdiff
path: root/sysutils/deforaos-browser/patches/patch-tests_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/deforaos-browser/patches/patch-tests_tests.sh')
-rw-r--r--sysutils/deforaos-browser/patches/patch-tests_tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/deforaos-browser/patches/patch-tests_tests.sh b/sysutils/deforaos-browser/patches/patch-tests_tests.sh
new file mode 100644
index 00000000000..fe2b9e52ca7
--- /dev/null
+++ b/sysutils/deforaos-browser/patches/patch-tests_tests.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_tests.sh,v 1.1 2015/10/09 22:33:13 khorben Exp $
+
+Only run the "vfs" test when running under X
+
+--- tests/tests.sh.orig 2015-10-05 23:01:10.000000000 +0000
++++ tests/tests.sh
+@@ -99,7 +99,7 @@ $DATE > "$target"
+ FAILED=
+ echo "Performing tests:" 1>&2
+ _test "plugins"
+-_test "vfs"
++[ -z "$DISPLAY" ] || _test "vfs"
+ #echo "Expected failures:" 1>&2
+ #_fail "plugins"
+ if [ -n "$FAILED" ]; then