1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-25 18:50:51 +03:00

SIGTERM testing clvmd before SIGKILL-ing it.

This commit is contained in:
Petr Rockai 2010-04-14 12:04:23 +00:00
parent e6f562ab77
commit cb296d5bb5

View File

@ -96,7 +96,11 @@ teardown() {
echo $LOOP
echo $PREFIX
test -n "$LOCAL_CLVMD" && kill -9 "$LOCAL_CLVMD"
test -n "$LOCAL_CLVMD" && {
kill "$LOCAL_CLVMD"
sleep .1
kill -9 "$LOCAL_CLVMD" || true
}
test -n "$PREFIX" && {
rm -rf $TESTDIR/dev/$PREFIX*