summaryrefslogtreecommitdiffstats
path: root/selftest/process_test.ok
blob: f168ee34819b22bd0233a0f0b74cbd767d3d3717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
run foo: DBG: cd '[TMP]'; PATH=[$PATH] foo.py arg1 arg2
run foo: DBG: [TMP]/stdout
run foo: DBG: [TMP]/stderr
run foo(pid=[PID]): Launched
stdout:
(launched: [DATETIME])
foo stdout
[[$0], 'arg1', 'arg2']

stderr:
(launched: [DATETIME])
foo stderr

run foo(pid=[PID]): Terminating (SIGINT)
run foo(pid=[PID]): DBG: Cleanup
run foo(pid=[PID]): Terminated {rc=1}
result: 1
stdout:
(launched: [DATETIME])
foo stdout
[[$0], 'arg1', 'arg2']
Exiting (stdout)

stderr:
(launched: [DATETIME])
foo stderr
Traceback (most recent call last):
  File [$0], line [LINE], in <module>
    time.sleep(1)
KeyboardInterrupt
Exiting (stderr)

done.