summaryrefslogtreecommitdiff
path: root/tests/mkfs-tests/014-rootdir-inline-extent/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkfs-tests/014-rootdir-inline-extent/test.sh')
-rwxr-xr-xtests/mkfs-tests/014-rootdir-inline-extent/test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mkfs-tests/014-rootdir-inline-extent/test.sh b/tests/mkfs-tests/014-rootdir-inline-extent/test.sh
index 167ced1e..b337e493 100755
--- a/tests/mkfs-tests/014-rootdir-inline-extent/test.sh
+++ b/tests/mkfs-tests/014-rootdir-inline-extent/test.sh
@@ -4,7 +4,6 @@
source "$TEST_TOP/common"
-check_global_prereq fallocate
check_prereq mkfs.btrfs
prepare_test_dev
@@ -16,7 +15,7 @@ create_file()
{
local size=$1
# Reuse size as filename
- run_check fallocate -l $size "$tmp/$size"
+ eval printf "%0.sx" {1..$size} > "$tmp/$size"
}
test_mkfs_rootdir()