summaryrefslogtreecommitdiff
path: root/test/script/definition.et
blob: d2da737b73d4051bdb1bb82bb04da63b102ee208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 /child-stdout p 4/
        expect /match p 4/
        expect /child-stdout p 11/
        expect /match p 11/
        expect /(.*)/ capture done
        guard (done == "run-done")