rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 52b096b7ac9ffa8150fe0450ba76dbc3332a214e
parent a4eddefec148f98c790e390d80fbd69811da48c7
Author: Toby Goodwin <toby@paccrat.org>
Date:   Mon, 17 Apr 2017 21:59:45 +0100

add some tests for unquoted equals

Diffstat:
Mtrip.rc | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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'