8 name="pkill -LF <pidfile>"
9 pidfile=$(pwd)/pidfile.txt
10 sleep=$(pwd)/sleep.txt
11 ln -sf /bin/sleep $sleep
12 daemon -p $pidfile $sleep 5
14 pkill -f -L -F $pidfile $sleep
21 echo "not ok 1 - $name"
25 # Be sure we cannot kill process which pidfile is not locked.
29 echo $chpid > $pidfile
30 pkill -f -L -F $pidfile $sleep 2>/dev/null
34 echo "not ok 2 - $name"