summaryrefslogtreecommitdiff
path: root/trip.rc
diff options
context:
space:
mode:
Diffstat (limited to 'trip.rc')
-rw-r--r--trip.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/trip.rc b/trip.rc
index c811347..5ffba5c 100644
--- a/trip.rc
+++ b/trip.rc
@@ -597,3 +597,9 @@ x=$tmpdir/qux*/foo
~ $x $tmpdir/qux/foo || { rm -rf $tmpdir/qux; fail broken symlink globbing }
rm -rf $tmpdir
+
+# test support for unquoted =
+submatch 'echo foo = bar' 'foo = bar' 'unquoted equals 2'
+submatch 'echo foo=bar' 'foo=bar' 'unquoted equals 2'
+submatch 'echo foo=' 'foo=' 'unquoted equals 3'
+submatch 'echo =bar; whatis -v echo' 'echo=bar' 'unquoted equals 4'