mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: updates for new test
snaphost needs exclusive origin for cluster older md5 needs 2 space char
This commit is contained in:
parent
6b561a7a3b
commit
ef1d910dee
@ -18,7 +18,7 @@ aux prepare_pvs 1
|
||||
|
||||
vgcreate -s 1K $vg $(cat DEVICES)
|
||||
|
||||
lvcreate -L1 -n $lv1 $vg
|
||||
lvcreate -aey -L1 -n $lv1 $vg
|
||||
# Snapshot should be large enough to handle any writes
|
||||
lvcreate -L2 -s $vg/$lv1 -n $lv2
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
# Snapshot should remain unmodified
|
||||
check_s_() {
|
||||
rm -f debug.log
|
||||
md5sum -c md5
|
||||
#diff data "$DM_DEV_DIR/$vg/s"
|
||||
}
|
||||
@ -32,7 +33,7 @@ dd if=/dev/urandom of=data bs=1M count=1
|
||||
dd if=data of=data bs=1M count=7 seek=1
|
||||
echo "$(md5sum data | cut -d' ' -f1) $DM_DEV_DIR/$vg/s" >md5
|
||||
|
||||
lvcreate -L 8M -n o $vg
|
||||
lvcreate -aey -L 8M -n o $vg
|
||||
dd if=data of="$DM_DEV_DIR/$vg/o" bs=1M
|
||||
|
||||
lvcreate -L 8M -s -n s $vg/o
|
||||
|
Loading…
Reference in New Issue
Block a user