mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
test: It is not an error for a test daemon to exit before teardown.
This commit is contained in:
parent
78ba413ed1
commit
45e2aee8f9
@ -214,7 +214,7 @@ kill_sleep_kill_() {
|
|||||||
slow=$2
|
slow=$2
|
||||||
if test -s $pidfile ; then
|
if test -s $pidfile ; then
|
||||||
pid=$(< $pidfile)
|
pid=$(< $pidfile)
|
||||||
kill -TERM $pid
|
kill -TERM $pid || return 0
|
||||||
if test $slow -eq 0 ; then sleep .1 ; else sleep 1 ; fi
|
if test $slow -eq 0 ; then sleep .1 ; else sleep 1 ; fi
|
||||||
kill -KILL $pid 2>/dev/null || true
|
kill -KILL $pid 2>/dev/null || true
|
||||||
wait=0
|
wait=0
|
||||||
|
Loading…
Reference in New Issue
Block a user