aboutsummaryrefslogtreecommitdiff
path: root/tests/command
diff options
context:
space:
mode:
Diffstat (limited to 'tests/command')
-rw-r--r--tests/command/testscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/command/testscript b/tests/command/testscript
index db9bb5c..12ddd79 100644
--- a/tests/command/testscript
+++ b/tests/command/testscript
@@ -184,4 +184,14 @@ end
{
$* -p 'echo abc >a' >'echo abc >a' &a
}
+
+ : escape
+ :
+ : Note that the sed builtin doesn't support multiple scripts.
+ :
+ if ($cxx.target.class != 'windows')
+ {
+ echo 'abc' >=f;
+ $* '^sed -e s/a/b/ -e s/c/b/ f' >'bbb'
+ }
}