blob: 54903491bf85bebd861b01071c11fde002e1e58b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
module definition
asset scripts:
path: ../asset/definition
test Definition:
spawn as p
with p:
send "load ${scripts.path}/basic.et"
expect /load-done/
send "run Test"
expect /global-info - Starting test ‘basic\.Test’/
expect /child-stdout p 4/
expect /match p 4/
expect /child-stdout p 11/
expect /match p 11/
expect /run-test-result Test (.*)/ capture result
guard (result == "done")
expect /(.*)/ capture done
guard (done == "run-done")
|