X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=blobdiff_plain;f=tests%2Fxfs%2F431;h=797b8fcdcb84385042cb683cd72283c327e601c4;hp=febc89d5b1ca3c085f696e67e5846f692ea8af9f;hb=8d54e50288501b4e98c667fca3bdaa7a3e962bf8;hpb=e28c4e69a4335cb747c0e80b5c25f00fe4fa297c diff --git a/tests/xfs/431 b/tests/xfs/431 index febc89d5..797b8fcd 100755 --- a/tests/xfs/431 +++ b/tests/xfs/431 @@ -37,7 +37,6 @@ rm -f $seqres.full # Modify as appropriate. _supported_fs xfs -_supported_os Linux _require_xfs_io_command "chattr" "t" _require_xfs_io_command "fsync" _require_xfs_io_command "pwrite" @@ -48,7 +47,7 @@ _scratch_mount # Set realtime inherit flag on scratch mount, suppress output # as this may simply error out on future kernels -$XFS_IO_PROG -c 'chattr +t' $SCRATCH_MNT &> /dev/null +_xfs_force_bdev realtime $SCRATCH_MNT &> /dev/null # Check if 't' is actually set, as xfs_io returns 0 even when it fails to set # an attribute. And erroring out here is fine, this would be desired behavior @@ -61,7 +60,7 @@ if $XFS_IO_PROG -c 'lsattr' $SCRATCH_MNT | grep -q 't'; then # Remove the testfile and rt inherit flag after we are done or # xfs_repair will fail. rm -f $SCRATCH_MNT/testfile - $XFS_IO_PROG -c 'chattr -t' $SCRATCH_MNT | tee -a $seqres.full 2>&1 + _xfs_force_bdev data $SCRATCH_MNT | tee -a $seqres.full 2>&1 fi # success, all done