summaryrefslogtreecommitdiff
path: root/trip.rc
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-10-29 14:52:13 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:13 +0100
commit5da6a89b1e630263d034aab99c7a1056ec7891c4 (patch)
treeee580f1b08ae970362dd3683f308cad63dc3af22 /trip.rc
parentc2f4ccc59f6760f6eed41cc485d079eb7b9b3e48 (diff)
fix test for cdpath
Diffstat (limited to 'trip.rc')
-rw-r--r--trip.rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/trip.rc b/trip.rc
index 4f78636..717b0a2 100644
--- a/trip.rc
+++ b/trip.rc
@@ -259,8 +259,7 @@ pwd=`/bin/pwd cdpath=/ { # some local assignments
# Test that cd to a directory found via cdpath produces output
# when interactive.
-if (!~ `{$rc -i -c 'cdpath=/ cd tmp'} `{sh -c 'cd /tmp; /bin/pwd'})
- fail cdpath produced wrong output
+submatch 'cdpath=/ cd tmp' /tmp 'cdpath produced wrong output'
*=(1 2 3 4 5) {
expect bad number