diff mbox series

[6/6] xfs/033: use _scratch_xfs_db wrapper

Message ID 160505542588.1388647.226564119701569514.stgit@magnolia (mailing list archive)
State Accepted
Headers show
Series xfstests: random fixes | expand

Commit Message

Darrick J. Wong Nov. 11, 2020, 12:43 a.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Use the wrapper instead of open-coding the call.

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

Patch

diff --git a/tests/xfs/033 b/tests/xfs/033
index 372426b7..a1311dbe 100755
--- a/tests/xfs/033
+++ b/tests/xfs/033
@@ -76,7 +76,7 @@  if [ $_fs_has_crcs -eq 1 ]; then
 fi
 _link_out_file_named $seqfull.out "$FEATURES"
 
-`xfs_db -r -c sb -c p $SCRATCH_DEV | grep 'ino = ' | \
+`_scratch_xfs_db -r -c sb -c p | grep 'ino = ' | \
 	sed -e 's/ //g' -e 's/^/export /'`
 
 # check we won't get any quota inodes setup on mount