diff --git a/test/shell/snapshot-reactivate.sh b/test/shell/snapshot-reactivate.sh index a4478b70e..28e1d62cf 100644 --- a/test/shell/snapshot-reactivate.sh +++ b/test/shell/snapshot-reactivate.sh @@ -19,8 +19,7 @@ # Snapshot should remain unmodified check_s_() { - rm -f debug.log - md5sum -c md5 + check dev_md5sum $vg s #diff data "$DM_DEV_DIR/$vg/s" } @@ -31,7 +30,7 @@ aux prepare_vg # 8M file with some random data 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 +echo "$(md5sum data | cut -d' ' -f1) $DM_DEV_DIR/$vg/s" >md5.${vg}-s lvcreate -aey -L 8M -n o $vg dd if=data of="$DM_DEV_DIR/$vg/o" bs=1M