mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: hide unwanted output
This commit is contained in:
parent
dc41859220
commit
d3a591a7b3
@ -906,8 +906,8 @@ wait_pvmove_lv_ready() {
|
||||
local retries=${2:-600}
|
||||
while : ; do
|
||||
test $retries -le 0 && die "Waiting for pvmove LV to get activated has timed out"
|
||||
dmsetup info -c -o tables_loaded $1 > out || true;
|
||||
not grep Live out || break
|
||||
dmsetup info -c -o tables_loaded $1 > out 2>/dev/null|| true;
|
||||
not grep Live out >/dev/null || break
|
||||
sleep .1
|
||||
retries=$((retries-1))
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user