diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-12-11 10:18:44 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-12-11 23:24:19 +0100 |
commit | bcf59a1b185c07a3f7e10f9de13e83501f9a852b (patch) | |
tree | 44a9c884785291104979ea3206bf9fe8416bac6e /test/shell/pv-range-overflow.sh | |
parent | 198f335139f7a538272c8cb6657ad4f5d58b01db (diff) | |
download | lvm2-bcf59a1b185c07a3f7e10f9de13e83501f9a852b.tar.gz |
tests: test should clean devices it has created
To be able to detect lvm2 command is not leaking some
'unexpected' device - remove all devices before
test exits by its own command so test teardown
now can check what was 'left' unexpectedly.
Diffstat (limited to 'test/shell/pv-range-overflow.sh')
-rw-r--r-- | test/shell/pv-range-overflow.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/shell/pv-range-overflow.sh b/test/shell/pv-range-overflow.sh index 37fd659d1..2d80f4ec1 100644 --- a/test/shell/pv-range-overflow.sh +++ b/test/shell/pv-range-overflow.sh @@ -32,3 +32,4 @@ grep "Logical volume bogus not found." err # 'run the offending pvmove command' not pvmove -v -n$lv "$dev1":4294967296 "$dev2" +vgremove -ff $vg |