mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +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() {
|
prepare_dmeventd() {
|
||||||
if pgrep dmeventd ; then
|
if pgrep dmeventd ; then
|
||||||
|
rm -f debug.log
|
||||||
echo "Cannot test dmeventd with real dmeventd ($(pgrep dmeventd)) running."
|
echo "Cannot test dmeventd with real dmeventd ($(pgrep dmeventd)) running."
|
||||||
skip
|
skip
|
||||||
fi
|
fi
|
||||||
@ -654,7 +655,7 @@ skip_if_raid456_replace_broken() {
|
|||||||
|
|
||||||
udev_wait() {
|
udev_wait() {
|
||||||
pgrep udev >/dev/null || return 0
|
pgrep udev >/dev/null || return 0
|
||||||
which udevadm >/dev/null || return 0
|
which udevadm &>/dev/null || return 0
|
||||||
if test -n "$1" ; then
|
if test -n "$1" ; then
|
||||||
udevadm settle --exit-if-exists="$1" || true
|
udevadm settle --exit-if-exists="$1" || true
|
||||||
else
|
else
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
which mkfs.ext2 || skip
|
which mkfs.ext2 || skip
|
||||||
aux skip_if_mirror_recovery_broken
|
aux skip_if_mirror_recovery_broken
|
||||||
|
|
||||||
aux prepare_vg 5
|
|
||||||
aux prepare_dmeventd
|
aux prepare_dmeventd
|
||||||
|
aux prepare_vg 5
|
||||||
|
|
||||||
lvcreate -aey --type mirror -m 3 --ignoremonitoring -L 1 -n 4way $vg
|
lvcreate -aey --type mirror -m 3 --ignoremonitoring -L 1 -n 4way $vg
|
||||||
lvchange --monitor y $vg/4way
|
lvchange --monitor y $vg/4way
|
||||||
|
Loading…
x
Reference in New Issue
Block a user