fstests: remove _require_no_rtinherit completely
[xfstests-dev.git] / tests / generic / 487
index 197b23852b4e8010c6ff420fffd513bb06cd99df..1aa97ada72fc977d8fb0bc544b198f13288ef4af 100755 (executable)
@@ -32,9 +32,6 @@ _cleanup()
 
 # real QA test starts here
 _require_scratch_nocheck
-# This test uses "dm" without taking into account the data could be on
-# realtime subvolume, thus the test will fail with rtinherit=1
-_require_no_rtinherit
 
 sflag='-s'
 case $FSTYP in
@@ -50,6 +47,10 @@ _require_dm_target error
 
 rm -f $seqres.full
 
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming all the free space in our small data device.
+unset SCRATCH_RTDEV
+
 echo "Format and mount"
 _scratch_mkfs > $seqres.full 2>&1
 _dmerror_init