☰
Debian Codegraph
@
1.4.0-1
1.3.6-1
1.3.5-1
/
/
tests
/
data
/
pk-spawn-test-ignore-term.sh
☽
☼
tests/data/pk-spawn-test-ignore-term.sh
code
plain
raw
GPL-2+
2007-2014, Richard Hughes <
[email protected]
>
debian/copyright
1
#!/usr/bin/env bash
2
3
# Deliberately ignore SIGTERM so the daemon has to escalate to SIGKILL.
4
trap '' TERM
5
6
time=0.3
7
8
i=0
9
while true; do
10
echo -e "percentage\t$((i % 100))"
11
i=$((i + 10))
12
sleep ${time}
13
done