2012-10-11 03:08:01 +02:00
|
|
|
--- Test 1
|
|
|
|
Line1
|
|
|
|
"Line2"
|
|
|
|
--- Test 2
|
|
|
|
Test quotes "&" work
|
|
|
|
--- Test 3
|
|
|
|
"&"
|
|
|
|
--- Test 4
|
|
|
|
"<"
|
|
|
|
--- Test 5
|
|
|
|
">"
|
|
|
|
--- Test 6
|
|
|
|
"\"
|
|
|
|
--- Test 7
|
|
|
|
"|"
|
|
|
|
--- Test 8
|
|
|
|
"`"
|
|
|
|
--- Test 9
|
|
|
|
"""
|
|
|
|
--- Test 10
|
|
|
|
--- Test 11
|
|
|
|
--- Test 12
|
|
|
|
passed1
|
|
|
|
--- Test 13
|
|
|
|
passed2@space@
|
|
|
|
--- Test 14
|
|
|
|
foobar
|
|
|
|
--- Test 15
|
|
|
|
No whitespace
|
|
|
|
--- Test 16
|
|
|
|
--- Test 17
|
|
|
|
--- Test 18
|
|
|
|
No prompts or I would not get here1
|
|
|
|
No prompts or I would not get here2
|
|
|
|
%hello1%
|
|
|
|
%hello2
|
|
|
|
%hello3:h=t%
|
|
|
|
%hello4%%
|
|
|
|
one = %1
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
@todo_wine@var contents: 11
|
|
|
|
var=33@space@
|
|
|
|
99
|
2012-10-11 03:08:02 +02:00
|
|
|
------ Testing invocation of batch files ----------
|
|
|
|
0@space@
|
|
|
|
1@space@
|
|
|
|
1@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
1@space@
|
|
|
|
1@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
0@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
1@space@
|
|
|
|
2@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
0@space@
|
|
|
|
3@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
3@space@
|
2012-10-17 00:35:33 +02:00
|
|
|
4@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
------ Testing invocation with CMD /C -------------
|
|
|
|
0@space@
|
2012-10-13 22:50:22 +02:00
|
|
|
1@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
0@space@
|
|
|
|
0@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
1@space@
|
|
|
|
0@space@
|
|
|
|
1@space@
|
|
|
|
2@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
0@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
3@space@
|
2012-10-17 00:35:33 +02:00
|
|
|
4@space@
|
2013-06-04 22:27:48 +02:00
|
|
|
Passed
|
2012-10-11 03:08:02 +02:00
|
|
|
---------- Testing CMD /C quoting -----------------
|
|
|
|
"hi"
|
2012-10-13 23:11:03 +02:00
|
|
|
1@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
"\"\\"\\\"\\\\"@space@"\"\\"\\\"\\\\"
|
2012-10-13 22:50:22 +02:00
|
|
|
1@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
0@space@
|
|
|
|
1@space@
|
|
|
|
0@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
0@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
0@space@@or_broken@3@space@
|
|
|
|
3@space@
|
|
|
|
2@space@
|
|
|
|
2@space@
|
|
|
|
2@space@
|
|
|
|
0@space@
|
2012-10-13 22:50:22 +02:00
|
|
|
5@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
------- Testing CMD /C qualifier treatment ------------
|
|
|
|
0@space@
|
2012-10-13 22:50:22 +02:00
|
|
|
1@space@
|
2020-04-26 05:53:38 +02:00
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
0@space@
|
|
|
|
bar@space@
|
|
|
|
bar@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
--------- Testing special characters --------------
|
|
|
|
0@space@
|
2012-10-17 00:35:33 +02:00
|
|
|
0@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
)@space@
|
|
|
|
[@space@
|
|
|
|
]@space@
|
|
|
|
{@space@
|
|
|
|
}@space@
|
|
|
|
0@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
0@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
!@space@
|
2013-01-07 00:06:28 +01:00
|
|
|
0@space@@or_broken@!@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
@todo_wine@0@space@
|
|
|
|
'@space@
|
|
|
|
+@space@
|
|
|
|
0@space@
|
|
|
|
'@space@
|
|
|
|
~@space@
|
|
|
|
--------- Testing parameter passing --------------
|
|
|
|
1:1,2:@space@
|
|
|
|
1:(1),2:@space@
|
|
|
|
1:1(2),2:@space@
|
2012-10-17 00:35:33 +02:00
|
|
|
1:(1),2:@space@
|
|
|
|
1:((1)),2:@space@
|
|
|
|
1:(1)(2),2:@space@
|
|
|
|
1:(1),2:(2)@space@
|
2012-10-13 23:11:03 +02:00
|
|
|
1:1,2:2@space@
|
|
|
|
1:1,2:2@space@
|
|
|
|
1:1,2:2@space@
|
2012-10-11 03:08:02 +02:00
|
|
|
1:"p@space@"1,2:p"@space@"2@space@
|
|
|
|
1:p"1@space@p",2:2@space@
|
2012-10-13 23:24:35 +02:00
|
|
|
--------- Testing delimiters and parameter passing --------------
|
|
|
|
0:tell,1:1,2:2,All:'1 2'@or_broken@0:tell,1:1,2:2,All:' 1 2'
|
|
|
|
0:tell,1:1,2:2,All:'1 2'@or_broken@0:tell,1:1,2:2,All:' 1 2'
|
|
|
|
0:tell,1:1,2:2,All:'==1==2'
|
2012-10-17 00:35:33 +02:00
|
|
|
0:tell,1:(1234),2:,All:'(1234)'
|
|
|
|
0:tell,1:(12(34),2:,All:'(12(34)'
|
|
|
|
0:tell,1:(12,2:34),All:'(12;34)'
|
|
|
|
--------- Finished --------------
|