diff options
Diffstat (limited to 'tools/regression/usr.bin/pkill/pkill-F.t')
-rw-r--r-- | tools/regression/usr.bin/pkill/pkill-F.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/regression/usr.bin/pkill/pkill-F.t b/tools/regression/usr.bin/pkill/pkill-F.t index 732d807..ebde428 100644 --- a/tools/regression/usr.bin/pkill/pkill-F.t +++ b/tools/regression/usr.bin/pkill/pkill-F.t @@ -9,9 +9,8 @@ name="pkill -F <pidfile>" pidfile=`mktemp /tmp/$base.XXXXXX` || exit 1 sleep=`mktemp /tmp/$base.XXXXXX` || exit 1 ln -sf /bin/sleep $sleep -$sleep 5 & +daemon -p $pidfile $sleep 5 sleep 0.3 -echo $! > $pidfile pkill -f -F $pidfile $sleep ec=$? case $ec in |