summary refs log tree commit diff stats
path: root/tests/qemu-iotests/125
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/125')
-rwxr-xr-xtests/qemu-iotests/1252
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/125 b/tests/qemu-iotests/125
index 46279d6b38..708e7c5ba2 100755
--- a/tests/qemu-iotests/125
+++ b/tests/qemu-iotests/125
@@ -35,7 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 get_image_size_on_host()
 {
-    echo $(($(stat -c '%b * %B' "$TEST_IMG_FILE")))
+    disk_usage "$TEST_IMG_FILE"
 }
 
 # get standard environment and filters