From: Ian Jackson Date: Fri, 17 Nov 2017 14:05:34 +0000 (+0000) Subject: ts-host-reuse: tolerate unremoveable lv X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bf7bd1f1178d95b57697644aa0a09bca20ca8de7;p=osstest.git ts-host-reuse: tolerate unremoveable lv It might be a symlink in the pair tests. Signed-off-by: Ian Jackson --- diff --git a/ts-host-reuse b/ts-host-reuse index e14a914..74ac94a 100755 --- a/ts-host-reuse +++ b/ts-host-reuse @@ -112,7 +112,7 @@ ENDI printf 'LV %s...\n' "$dev" if ! test -e $dev; then continue; fi dd if=/dev/urandom bs=1024 count=4096 of=$dev ||: - lvremove -f $dev + lvremove -f $dev ||: done done ENDQ