blob: 9d8ca111d8a5bd87fcf02d24050773391e23c53d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
# make sure tracing doesnt swallow valid SIGCHLD events
[ "${at_xfail}" = "yes" ] && exit 77 # see script-0
sigsuspend-zsh_tst
d=$?
echo "ret = $d"
# We can't trace static children currently with YAMA ptrace_scope 1+.
[ ${at_yama_ptrace_scope} -gt 0 ] && exit ${d}
sigsuspend-zsh_static_tst
s=$?
echo "ret = $s"
exit $(( d | s ))
|