summaryrefslogtreecommitdiff
path: root/test/script
diff options
context:
space:
mode:
Diffstat (limited to 'test/script')
-rw-r--r--test/script/shell.et11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/script/shell.et b/test/script/shell.et
index e63093b..e58dfea 100644
--- a/test/script/shell.et
+++ b/test/script/shell.et
@@ -139,13 +139,18 @@ test ShellExitOnError:
expect /run-done/
flush
- send "run Disabled"
- expect /run-test-result Disabled done/
+ send "run DisabledSuccess"
+ expect /run-test-result DisabledSuccess done/
+ expect /run-done/
+ flush
+
+ send "run DisabledFailure"
+ expect /run-test-result DisabledFailure failed/
expect /run-done/
flush
send "run Enabled"
- expect /child-fail sh failed at: .*error-exit.et:18:9: false/
+ expect /child-fail sh failed at: .*error-exit.et:25:9: false/
expect /run-test-result Enabled failed/
expect /run-done/
flush