diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2023-09-25 13:33:59 +0900 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-10-05 22:32:01 +0800 |
commit | 80e277fd69a2fd048c0e29f4749909041ac80925 (patch) | |
tree | b994151c7195c01c55458e30b0a10438cbf87dce | |
parent | 0f4d4a18b397ea8b150d19ef32e2a950739cc313 (diff) | |
download | xfstests-dev-80e277fd69a2fd048c0e29f4749909041ac80925.tar.gz |
btrfs/076: fix file_size variable
The file size written below is 10 MB, but the variable is set to 1 MB. Fix
it, or the test will fail.
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/btrfs/076 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btrfs/076 b/tests/btrfs/076 index 23f9bd534a..894a1ac7fa 100755 --- a/tests/btrfs/076 +++ b/tests/btrfs/076 @@ -37,7 +37,7 @@ if _scratch_btrfs_is_zoned; then max_extent_size=$(( $zone_append_max / 4096 * 4096 )) fi fi -file_size=$(( 1 * 1024 * 1024 )) +file_size=$(( 10 * 1024 * 1024 )) expect=$(( (file_size + max_extent_size - 1) / max_extent_size )) _scratch_mkfs >> $seqres.full 2>&1 |