diff --git a/tests/tests/simple-release-extents.sh b/tests/tests/simple-release-extents.sh index 90e06380..4fa9583b 100644 --- a/tests/tests/simple-release-extents.sh +++ b/tests/tests/simple-release-extents.sh @@ -13,7 +13,10 @@ create_file() { local file="$1" local size="$2" - t_quiet xfs_io -f -c "pwrite 0 $size" "$file" + t_quiet xfs_io -f \ + -c "falloc 0 $size" \ + -c "pwrite 0 $size" \ + "$file" } # if vers is "stat" then we ask stat_more for the data_version