Debian Codegraph @

testscript/testdata/kill_unnamed.txt

raw
1 [!exec:sleep] skip
2
3 # This test depends on sleep exiting with a non-success status when being
4 # terminated by an interrupt (kill on Windows) signal.
5
6 ! exec sleep 10 &
7 ! exec sleep 10 &
8
9 # Set a timeout. If the kill below fails, this sleep will have terminated
10 # before the test exits and so the test will fail when it completes.
11 ! exec sleep 5 &
12
13 kill -KILL
14 wait