mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
tests: add data sync
This commit is contained in:
parent
80ebec099d
commit
8bcf46a0ac
@ -70,6 +70,8 @@ mkdir "$MOUNT_DIR"
|
||||
# This mkfs should fill 2MB pool over 95%
|
||||
# no autoresize is configured
|
||||
mkfs.ext4 "$DM_DEV_DIR/mapper/$THIN"
|
||||
# ensure all data from mkfs are written to disk
|
||||
sync
|
||||
test "$(percent_)" -gt 95
|
||||
mount "$DM_DEV_DIR/mapper/$THIN" "$MOUNT_DIR"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user