aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/005
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/005')
-rwxr-xr-xtests/qemu-iotests/0055
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/qemu-iotests/005 b/tests/qemu-iotests/005
index 5844276..b6d03ac 100755
--- a/tests/qemu-iotests/005
+++ b/tests/qemu-iotests/005
@@ -59,10 +59,7 @@ fi
# Sanity check: For raw, we require a file system that permits the creation
# of a HUGE (but very sparse) file. Check we can create it before continuing.
if [ "$IMGFMT" = "raw" ]; then
- if ! truncate --size=5T "$TEST_IMG"; then
- _notrun "file system on $TEST_DIR does not support large enough files"
- fi
- rm "$TEST_IMG"
+ _require_large_file 5T
fi
echo