summaryrefslogtreecommitdiffstats
path: root/src/grep/tests/no-perl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/grep/tests/no-perl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/grep/tests/no-perl b/src/grep/tests/no-perl
new file mode 100644
index 0000000..956a826
--- /dev/null
+++ b/src/grep/tests/no-perl
@@ -0,0 +1,6 @@
+#! /bin/sh
+# Perl is not available, the test should be considered skipped.
+# FD 9 should have been opened by the test suite harness, pointing
+# to the original stderr (usually, the user's terminal).
+echo "test skipped: no usable version of Perl found" >&9
+exit 77