Debian Codegraph @

tests/kdc/leaks-kill.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 name=$1
4 pid=$2
5
6 killscip-shell system . . kill. $pid
7 set -- .
8 while killscip-shell system . . kill. -0 $pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
9 do
10 set -- "$@" "."
11 if [scip-shell system . . `[`. $# -gt 4 ]
12 then
13 killscip-shell system . . kill. kill -9 $pid 2> /dev/nullscip-shell filesystem . . `/dev/null`.
14 break
15 fi
16 sleepscip-shell system . . sleep. 1
17 done
18
19 set -- .
20 while killscip-shell system . . kill. -0 $pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
21 do
22 set -- "$@" "."
23 if [scip-shell system . . `[`. $# -gt 4 ]; then exit 1; fi
24 sleepscip-shell system . . sleep. 1
25 done
26
27 exit 0