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-17 13:31:45 -0500
commitd55163331e7489d670f032cc3f8053f8213499d0 (patch)
tree1604b688ed4a323e3163ac113bc23eab015f70bd
parentd37149285732d5ae188aa217694032aa88b03d0b (diff)
downloadlvm2-d55163331e7489d670f032cc3f8053f8213499d0.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