diff mbox series

[5/6] xfs/288: shut up verifier error

Message ID 153869877948.26648.4238107405182797711.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series fstests: fixes and new tests | expand

Commit Message

Darrick J. Wong Oct. 5, 2018, 12:19 a.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Ignore the verifier errors when we fuzz hdr.count to zero.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 tests/xfs/288 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/xfs/288 b/tests/xfs/288
index c6821909..13ba3057 100755
--- a/tests/xfs/288
+++ b/tests/xfs/288
@@ -62,7 +62,7 @@  _scratch_xfs_set_metadata_field "hdr.count" "0" \
 # verify current xfs_db write command can set hdr.count to 0. Old xfsprogs
 # can't do that on v5 filesystems.
 count=$(_scratch_xfs_get_metadata_field "hdr.count" \
-					"inode $inum" "ablock 0")
+					"inode $inum" "ablock 0" 2> /dev/null)
 if [ "$count" != "0" ]; then
 	_notrun "xfs_db can't set attr hdr.count to 0"
 fi