mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
tests: update test
Remove some unneeded traces and outputs.
This commit is contained in:
parent
3247819531
commit
ef557b8091
@ -52,6 +52,7 @@ prepare_clvmd() {
|
||||
|
||||
prepare_dmeventd() {
|
||||
if pgrep dmeventd ; then
|
||||
rm -f debug.log
|
||||
echo "Cannot test dmeventd with real dmeventd ($(pgrep dmeventd)) running."
|
||||
skip
|
||||
fi
|
||||
@ -654,7 +655,7 @@ skip_if_raid456_replace_broken() {
|
||||
|
||||
udev_wait() {
|
||||
pgrep udev >/dev/null || return 0
|
||||
which udevadm >/dev/null || return 0
|
||||
which udevadm &>/dev/null || return 0
|
||||
if test -n "$1" ; then
|
||||
udevadm settle --exit-if-exists="$1" || true
|
||||
else
|
||||
|
@ -14,8 +14,8 @@
|
||||
which mkfs.ext2 || skip
|
||||
aux skip_if_mirror_recovery_broken
|
||||
|
||||
aux prepare_vg 5
|
||||
aux prepare_dmeventd
|
||||
aux prepare_vg 5
|
||||
|
||||
lvcreate -aey --type mirror -m 3 --ignoremonitoring -L 1 -n 4way $vg
|
||||
lvchange --monitor y $vg/4way
|
||||
|
Loading…
Reference in New Issue
Block a user