common/rc: Enable _format_swapfile to return the swap size
[xfstests-dev.git] / tests / btrfs / 174
index 8bf856ae9e8d28a0eb00668537dbb93e5e1b1501..3bb5e7f91809e73fe09f3577cf37c2adce6550c6 100755 (executable)
@@ -20,7 +20,7 @@ _scratch_mount
 
 $BTRFS_UTIL_PROG subvolume create "$SCRATCH_MNT/swapvol" >> $seqres.full
 swapfile="$SCRATCH_MNT/swapvol/swap"
-_format_swapfile "$swapfile" $(($(get_page_size) * 10))
+_format_swapfile "$swapfile" $(($(get_page_size) * 10)) > /dev/null
 swapon "$swapfile"
 
 # Turning off nocow doesn't do anything because the file is not empty, not