diff options
author | sebres <sebres@users.sourceforge.net> | 2018-08-23 08:00:32 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2018-08-23 08:00:32 (GMT) |
commit | c2d61d8dbcee801a9eef8c388816573f3da4a92a (patch) | |
tree | d1d55015430659bb60e10792cc341ecb1170c3ea /tests/winPipe.test | |
parent | fb0bf9d1b9dbcac3d58bef9c86b6353eaf3d0c1e (diff) | |
download | tcl-c2d61d8dbcee801a9eef8c388816573f3da4a92a.zip tcl-c2d61d8dbcee801a9eef8c388816573f3da4a92a.tar.gz tcl-c2d61d8dbcee801a9eef8c388816573f3da4a92a.tar.bz2 |
code review, restored backwards compatibility of the simplest escape of quote-chars (so reverted several tests winpipe-7.x)
Diffstat (limited to 'tests/winPipe.test')
-rw-r--r-- | tests/winPipe.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/winPipe.test b/tests/winPipe.test index c375d8f..5c6eac8 100644 --- a/tests/winPipe.test +++ b/tests/winPipe.test @@ -362,22 +362,22 @@ test winpipe-7.2 {BuildCommandLine: null arguments} {win exec} { } {foo "" bar} test winpipe-7.3 {BuildCommandLine: dbl quote quoting #1} {win exec} { exec $env(COMSPEC) /c echo foo "\"" bar -} {foo "\"" bar} +} {foo \" bar} test winpipe-7.4 {BuildCommandLine: dbl quote quoting #2} {win exec} { exec $env(COMSPEC) /c echo foo {""} bar -} {foo "\"\"" bar} +} {foo \"\" bar} test winpipe-7.5 {BuildCommandLine: dbl quote quoting #3} {win exec} { exec $env(COMSPEC) /c echo foo "\" " bar } {foo "\" " bar} test winpipe-7.6 {BuildCommandLine: dbl quote quoting #4} {win exec} { exec $env(COMSPEC) /c echo foo {a="b"} bar -} {foo "a=\"b\"" bar} +} {foo a=\"b\" bar} test winpipe-7.7 {BuildCommandLine: dbl quote quoting #5} {win exec} { exec $env(COMSPEC) /c echo foo {a = "b"} bar } {foo "a = \"b\"" bar} test winpipe-7.8 {BuildCommandLine: dbl quote quoting #6} {win exec} { exec $env(COMSPEC) /c echo {"hello"} {""hello""} {"""hello"""} {"\"hello\""} {he llo} "he \" llo" -} {"\"hello\"" "\"\"hello\"\"" "\"\"\"hello\"\"\"" "\"\\\"hello\\\"\"" "he llo" "he \" llo"} +} {\"hello\" \"\"hello\"\" \"\"\"hello\"\"\" \"\\\"hello\\\"\" "he llo" "he \" llo"} test winpipe-7.9 {BuildCommandLine: N backslashes followed a quote rule #1} {win exec} { exec $env(COMSPEC) /c echo foo \\ bar } {foo \ bar} |