aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/lexer+command-line.test.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/build/script/lexer+command-line.test.testscript')
-rw-r--r--libbuild2/build/script/lexer+command-line.test.testscript36
1 files changed, 24 insertions, 12 deletions
diff --git a/libbuild2/build/script/lexer+command-line.test.testscript b/libbuild2/build/script/lexer+command-line.test.testscript
index 1777583..3eceae8 100644
--- a/libbuild2/build/script/lexer+command-line.test.testscript
+++ b/libbuild2/build/script/lexer+command-line.test.testscript
@@ -47,24 +47,36 @@ test.arguments = command-line
: str
:
- $* <"cmd <a 1>b" >>EOO
+ $* <"cmd <<<=a 1>>>?b" >>EOO
'cmd'
- <
+ <<<=
'a'
'1'
- >
+ >>>?
'b'
<newline>
EOO
: str-nn
:
- $* <"cmd <:a 1>:b" >>EOO
+ $* <"cmd <<<=:a 1>>>?:b" >>EOO
'cmd'
- <:
+ <<<=:
'a'
'1'
- >:
+ >>>?:
+ 'b'
+ <newline>
+ EOO
+
+ : str-nn-alias
+ :
+ $* <"cmd <<<:a 1>>>?:b" >>EOO
+ 'cmd'
+ <<<:
+ 'a'
+ '1'
+ >>>?:
'b'
<newline>
EOO
@@ -83,26 +95,26 @@ test.arguments = command-line
: doc-nn
:
- $* <"cmd <<:EOI 1>>:EOO" >>EOO
+ $* <"cmd <<:EOI 1>>?:EOO" >>EOO
'cmd'
<<:
'EOI'
'1'
- >>:
+ >>?:
'EOO'
<newline>
EOO
: file-cmp
:
- $* <"cmd <<<in >>>out 2>>>err" >>EOO
+ $* <"cmd <=in >?out 2>?err" >>EOO
'cmd'
- <<<
+ <=
'in'
- >>>
+ >?
'out'
'2'
- >>>
+ >?
'err'
<newline>
EOO