summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-07-12 07:23:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-07-12 07:23:32 -0700
commit06f2d42dbaa5427d25f39fe5e0b2b9036d0ab18c (patch)
treeb599c609b47c61a29ed603f686461238314790ed
parent51fbe71ee631d16f26d96ec49222ea42c0d4294c (diff)
downloadtxr-06f2d42dbaa5427d25f39fe5e0b2b9036d0ab18c.tar.gz
txr-06f2d42dbaa5427d25f39fe5e0b2b9036d0ab18c.tar.bz2
txr-06f2d42dbaa5427d25f39fe5e0b2b9036d0ab18c.zip
tests: 002 group: skip test if utils missing.
* tests/002/query-1.txr: Terminate with status 13 if the needed utils cannot be found in the search path. Reported and investigated by Paul A. Patience.
-rw-r--r--tests/002/query-1.txr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/002/query-1.txr b/tests/002/query-1.txr
index 0b4eced2..a98b82eb 100644
--- a/tests/002/query-1.txr
+++ b/tests/002/query-1.txr
@@ -1,3 +1,5 @@
+@(do (unless (and (path-search "ls") (path-search "sort"))
+ (exit 13)))
@(next `!ls @TESTDIR/proc | sort -n`)
@(collect)
@{process /[0-9]+/}