summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-06-15 16:32:28 -0500
committerDavid Teigland <teigland@redhat.com>2015-06-23 17:08:54 -0500
commitf048d9c9db564996146a0f6a6f76b4fbb481dabe (patch)
tree20cd346153d7f400f49546cee5ccc2fc1d02c4d8
parent2faf84cd372813ff8ba2180a1f5a23b8ce1238a5 (diff)
downloadlvm2-f048d9c9db564996146a0f6a6f76b4fbb481dabe.tar.gz
tests: improve sanlock cleanup script
-rw-r--r--test/shell/sanlock-remove.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/shell/sanlock-remove.sh b/test/shell/sanlock-remove.sh
index b2f5c2bff..a8ea9a720 100644
--- a/test/shell/sanlock-remove.sh
+++ b/test/shell/sanlock-remove.sh
@@ -20,9 +20,9 @@ test_description='Remove the sanlock test setup'
vgremove --config 'devices { global_filter=["a|GL_DEV|", "r|.*|"] filter=["a|GL_DEV|", "r|.*|"]}' glvg
-dmsetup remove GL_DEV
-# FIXME: reverse prepare_lvmlockd_sanlock
-sanlock shutdown -f 1
killall lvmlockd
+killall sanlock
+dmsetup remove GL_DEV
+dmsetup remove glvg-lvmlock