. ./common/filter
# real QA test starts here
-_supported_os Linux
_supported_fs xfs
_require_realtime
_require_scratch_swapfile
echo moo >> $testdir/dummy
$XFS_IO_PROG -c "open -f -R $testdir/file1" $testdir >> $seqres.full
_pwrite_byte 0x61 0 $((blocks * blksz)) $testdir/file1 >> $seqres.full
-mkswap -U 27376b42-ff65-42ca-919f-6c9b62292a5c $testdir/file1 >> $seqres.full
+$MKSWAP_PROG -U 27376b42-ff65-42ca-919f-6c9b62292a5c $testdir/file1 >> $seqres.full
echo "Try to swapon"
swapon $testdir/file1 2>&1 | _filter_scratch