summaryrefslogtreecommitdiffstats
path: root/tests/002
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
commite2722255a719fa6abdeb9822572931028abd6ac6 (patch)
treeb599c609b47c61a29ed603f686461238314790ed /tests/002
parentee20bb23f59e4eda5bfec1f9d8cfd4170a6bd0b2 (diff)
downloadtxr-e2722255a719fa6abdeb9822572931028abd6ac6.tar.gz
txr-e2722255a719fa6abdeb9822572931028abd6ac6.tar.bz2
txr-e2722255a719fa6abdeb9822572931028abd6ac6.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.
Diffstat (limited to 'tests/002')
-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]+/}