master - test: Avoid running 'dmsetup remove' with no devices.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c6f9c4622378a312f0195ab968f8744b881d10b5 Commit: c6f9c4622378a312f0195ab968f8744b881d10b5 Parent: ad0267b2ad70258fe79c90ed7cdd31fa19c8bec1 Author: Petr Rockai <[email protected]> AuthorDate: Sun Sep 14 23:01:31 2014 +0200 Committer: Petr Rockai <[email protected]> CommitterDate: Thu Feb 5 13:47:21 2015 +0100
test: Avoid running 'dmsetup remove' with no devices.
--- test/shell/pvmove-restart.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/pvmove-restart.sh +1 -1
@@ -41,7 +41,7 @@ wait # Simulate reboot - forcibly remove related devices dmsetup table dmsetup remove $vg-$lv1 -dmsetup ls --exec echo | grep $vg-pvmove0 | xargs dmsetup remove +dmsetup ls --exec echo | grep $vg-pvmove0 | xargs -r dmsetup remove # Check we really have pvmove volume check lv_attr_bit type $vg/pvmove0 "p"