summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-01-13 12:17:41 +0000
committerjmmv <jmmv@FreeBSD.org>2014-01-13 12:17:41 +0000
commit1825fe79324513c62cdf76052c31e3799db246f0 (patch)
tree4c8b79023704b596d53e265228b2fa3caee2f8f4
parentaae2faca3f9fa4074f57f1be1e8c1aab9038c680 (diff)
downloadFreeBSD-src-1825fe79324513c62cdf76052c31e3799db246f0.zip
FreeBSD-src-1825fe79324513c62cdf76052c31e3799db246f0.tar.gz
Mark the bin/pax tests as requiring perl.
The effect of this is that the test program is marked as skipped when perl is missing, instead of marking it as broken due to an execution failure. MFC after: 3 days
-rw-r--r--bin/pax/tests/Kyuafile7
-rw-r--r--bin/pax/tests/Makefile1
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/pax/tests/Kyuafile b/bin/pax/tests/Kyuafile
new file mode 100644
index 0000000..8d0fc2e
--- /dev/null
+++ b/bin/pax/tests/Kyuafile
@@ -0,0 +1,7 @@
+-- $FreeBSD$
+
+syntax(2)
+
+test_suite("FreeBSD")
+
+tap_test_program{name="legacy_test", required_programs="/usr/bin/perl"}
diff --git a/bin/pax/tests/Makefile b/bin/pax/tests/Makefile
index b3c4b85..4403efd 100644
--- a/bin/pax/tests/Makefile
+++ b/bin/pax/tests/Makefile
@@ -3,6 +3,7 @@
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/bin/pax
+KYUAFILE= yes
TAP_TESTS_SH= legacy_test
OpenPOWER on IntegriCloud