diff options
| author | Toby Goodwin <toby@paccrat.org> | 2017-04-17 21:59:45 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2017-04-17 22:01:02 +0100 |
| commit | 52b096b7ac9ffa8150fe0450ba76dbc3332a214e (patch) | |
| tree | fb1e531b099064b674ab026f708278fe68394b1b /trip.rc | |
| parent | a4eddefec148f98c790e390d80fbd69811da48c7 (diff) | |
add some tests for unquoted equals
Diffstat (limited to 'trip.rc')
| -rw-r--r-- | trip.rc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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' |