File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/CLU/Microsoft.ScenarioTests.CLU Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,29 +4,29 @@ ECHO Test return code success case
4
4
call testclu success show 2 > out.error
5
5
REM We expect that the commands above succeed (return 0)
6
6
IF %ERRORLEVEL% NEQ 0 (
7
- ECHO " Expected error level 0 for success, got " %ERRORLEVEL%
8
- EXIT /B 1
7
+ ECHO " Expected error level 0 for success, got " %ERRORLEVEL%
8
+ EXIT /B 1
9
9
)
10
10
11
11
ECHO Test return codes non terminating error case
12
12
call testclu success show --generatenonterminatingerror true 2 > out.error
13
13
IF %ERRORLEVEL% NEQ 1 (
14
- ECHO " Expected error level 1 for non-terminating error, got " %ERRORLEVEL%
15
- EXIT /B 1
14
+ ECHO " Expected error level 1 for non-terminating error, got " %ERRORLEVEL%
15
+ EXIT /B 1
16
16
)
17
17
18
18
ECHO Test return codes terminating error case
19
19
call testclu success show --generateterminatingerror true 2 > out.error
20
20
IF %ERRORLEVEL% NEQ 2 (
21
- ECHO " Expected error level 2 for terminating error, got " %ERRORLEVEL%
22
- EXIT /B 1
21
+ ECHO " Expected error level 2 for terminating error, got " %ERRORLEVEL%
22
+ EXIT /B 1
23
23
)
24
24
25
25
ECHO Test pipeline aliasing
26
26
call testclu record new | testclu record show > out.txt
27
27
IF %ERRORLEVEL% NEQ 0 (
28
- ECHO " Expected error level 0 for success, got " %ERRORLEVEL%
29
- EXIT /B 1
28
+ ECHO " Expected error level 0 for success, got " %ERRORLEVEL%
29
+ EXIT /B 1
30
30
)
31
31
32
32
You can’t perform that action at this time.
0 commit comments