diff options
Diffstat (limited to 'tests/btrfs/175')
-rwxr-xr-x | tests/btrfs/175 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/btrfs/175 b/tests/btrfs/175 index bf0ede25..6f7832a5 100755 --- a/tests/btrfs/175 +++ b/tests/btrfs/175 @@ -18,7 +18,7 @@ _check_minimal_fs_size $((1024 * 1024 * 1024)) cycle_swapfile() { local sz=${1:-$(($(get_page_size) * 10))} - _format_swapfile "$SCRATCH_MNT/swap" "$sz" + _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)) +_format_swapfile "$SCRATCH_MNT/swap" $(($(get_page_size) * 10)) > /dev/null scratch_dev2="$(echo "${SCRATCH_DEV_POOL}" | awk '{ print $2 }')" $BTRFS_UTIL_PROG device add -f "$scratch_dev2" "$SCRATCH_MNT" swapon "$SCRATCH_MNT/swap" 2>&1 | _filter_scratch |