test/functional/base.yml in uttk-0.3.6.1 vs test/functional/base.yml in uttk-0.4.5.0
- old
+ new
@@ -75,9 +75,38 @@
- cmd: !S::Cmd
command: sleep
args: 1
- check for zombies: !S::KillAll
regexp: !re sleep
+ - command: !S::Command
+ command: 'true'
+ exit: 0
+ - bad command: !S::Command
+ command: /bin/unexisting_command
+ exit: 127
+ - abort command: !S::Suite
+ contents:
+ - match: !S::RMatch
+ test: !S::Command
+ timeout: 0.3
+ command: sleep
+ args: 1
+ match:
+ - //reason/abort 'test' with timeout 0.3s
+ - //status/ABORT
+ - check for zombies: !S::KillAll
+ regexp: !re sleep
+ - abort suite command: !S::Suite
+ contents:
+ - suite: !S::Suite
+ weight: -1
+ timeout: 0.1
+ contents:
+ - command: !S::Command
+ command: sleep
+ args: 1
+ - check for zombies: !S::KillAll
+ regexp: !re sleep
- timeout suite of suite: !S::Suite
weight: -1
timeout: 0.01
contents:
- suite: !S::Suite