summaryrefslogtreecommitdiff
path: root/tests/mkfs-tests/004-rootdir-keeps-size
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkfs-tests/004-rootdir-keeps-size')
-rwxr-xr-xtests/mkfs-tests/004-rootdir-keeps-size/test.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/mkfs-tests/004-rootdir-keeps-size/test.sh b/tests/mkfs-tests/004-rootdir-keeps-size/test.sh
index 4a84e6db..635a5137 100755
--- a/tests/mkfs-tests/004-rootdir-keeps-size/test.sh
+++ b/tests/mkfs-tests/004-rootdir-keeps-size/test.sh
@@ -13,12 +13,12 @@ test_mkfs_with_size() {
local tmp
size="$1"
- run_check truncate -s$size $TEST_DEV
- imgsize=$(run_check_stdout stat --format=%s $TEST_DEV)
- run_check $SUDO_HELPER $TOP/mkfs.btrfs -f \
- --rootdir $INTERNAL_BIN/Documentation \
- $TEST_DEV
- tmp=$(run_check_stdout stat --format=%s $TEST_DEV)
+ run_check truncate -s"$size" "$TEST_DEV"
+ imgsize=$(run_check_stdout stat --format=%s "$TEST_DEV")
+ run_check $SUDO_HELPER "$TOP/mkfs.btrfs" -f \
+ --rootdir "$INTERNAL_BIN/Documentation" \
+ "$TEST_DEV"
+ tmp=$(run_check_stdout stat --format=%s "$TEST_DEV")
if ! [ "$imgsize" = "$tmp" ]; then
_fail "image size changed from $imgsize to $tmp"
fi