summaryrefslogtreecommitdiff
path: root/tests/btrfs/175
diff options
context:
space:
mode:
Diffstat (limited to 'tests/btrfs/175')
-rwxr-xr-xtests/btrfs/1754
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/btrfs/175 b/tests/btrfs/175
index db877d41..de52c71e 100755
--- a/tests/btrfs/175
+++ b/tests/btrfs/175
@@ -17,7 +17,7 @@ _require_scratch_swapfile
_check_minimal_fs_size $((1024 * 1024 * 1024))
cycle_swapfile() {
- local sz=${1:-$(($(get_page_size) * 10))}
+ local sz=${1:-$(($(_get_page_size) * 10))}
_format_swapfile "$SCRATCH_MNT/swap" "$sz" > /dev/null
swapon "$SCRATCH_MNT/swap" 2>&1 | _filter_scratch
swapoff "$SCRATCH_MNT/swap" > /dev/null 2>&1
@@ -47,7 +47,7 @@ _scratch_mkfs >> $seqres.full 2>&1
_scratch_mount
# Create the swap file, then add the device. That way we know it's all on one
# device.
-_format_swapfile "$SCRATCH_MNT/swap" $(($(get_page_size) * 10)) > /dev/null
+_format_swapfile "$SCRATCH_MNT/swap" $(($(_get_page_size) * 10)) > /dev/null
scratch_dev2="$(echo "${SCRATCH_DEV_POOL}" | $AWK_PROG '{ print $2 }')"
$BTRFS_UTIL_PROG device add -f "$scratch_dev2" "$SCRATCH_MNT" >> $seqres.full
swapon "$SCRATCH_MNT/swap" 2>&1 | _filter_scratch