X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=blobdiff_plain;f=tests%2Fgeneric%2F554;h=da9bfce5bd289a4394637ee0ab61dcf31506cf55;hp=eaf1f45a8d15913ff957733573e30a75d771d59f;hb=08e93fa7cae1d1ce98abf83024450cb6f4cefc3e;hpb=f036a4da857c850a83810cac892f6df387dfb582 diff --git a/tests/generic/554 b/tests/generic/554 index eaf1f45a..da9bfce5 100755 --- a/tests/generic/554 +++ b/tests/generic/554 @@ -29,7 +29,6 @@ _cleanup() . ./common/filter # real QA test starts here -_supported_os Linux _supported_fs generic rm -f $seqres.full @@ -38,7 +37,7 @@ _require_scratch _require_xfs_io_command "copy_range" _require_scratch_swapfile -_scratch_mkfs 2>&1 >> $seqres.full +_scratch_mkfs >>$seqres.full 2>&1 _scratch_mount rm -f $seqres.full @@ -47,7 +46,8 @@ $XFS_IO_PROG -f -c "pwrite -S 0x61 0 128k" $SCRATCH_MNT/file >> $seqres.full 2>& echo swap files return ETXTBUSY _format_swapfile $SCRATCH_MNT/swapfile 16m -swapon $SCRATCH_MNT/swapfile +_swapon_file $SCRATCH_MNT/swapfile + $XFS_IO_PROG -f -c "copy_range -l 32k $SCRATCH_MNT/file" $SCRATCH_MNT/swapfile swapoff $SCRATCH_MNT/swapfile