xfs/270: allow corrupted xfs_db write
[xfstests-dev.git] / tests / xfs / 270
index d5c8df19758495c7fe68e5fed1f2768d7412f9d9..da66bc3392df4d713b45162c1dd06b3cea246a6b 100755 (executable)
@@ -44,7 +44,8 @@ _scratch_mkfs_xfs >>$seqres.full 2>&1
 # set the highest bit of features_ro_compat, use it as an unknown
 # feature bit. If one day this bit become known feature, please
 # change this case.
-$XFS_DB_PROG -x -c "sb 0" -c "write features_ro_compat $((2**31))" $SCRATCH_DEV
+$XFS_DB_PROG -x -c "sb 0" -c "write -d features_ro_compat $((2**31))" \
+       $SCRATCH_DEV | grep -v "Allowing write of corrupted data"
 
 # rw mount with unknown ro-compat feature should fail
 echo "rw mount test"