summaryrefslogtreecommitdiff
path: root/trip.rc
diff options
context:
space:
mode:
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