All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: darrick.wong@oracle.com, guaneryu@gmail.com
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: [PATCH 6/6] xfs/033: use _scratch_xfs_db wrapper
Date: Tue, 10 Nov 2020 16:43:45 -0800	[thread overview]
Message-ID: <160505542588.1388647.226564119701569514.stgit@magnolia> (raw)
In-Reply-To: <160505537312.1388647.14788379902518687395.stgit@magnolia>

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 --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


      parent reply	other threads:[~2020-11-11  0:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11  0:42 [PATCH 0/6] xfstests: random fixes Darrick J. Wong
2020-11-11  0:42 ` [PATCH 1/6] common: extract rt extent size for _get_file_block_size Darrick J. Wong
2020-11-11  4:23   ` Chandan Babu R
2020-11-11  0:43 ` [PATCH 2/6] check: run tests in a systemd scope for mandatory test cleanup Darrick J. Wong
2020-11-22 14:35   ` Eryu Guan
2020-11-11  0:43 ` [PATCH 3/6] common/populate: make sure _scratch_xfs_populate puts its files on the data device Darrick J. Wong
2020-11-11  0:43 ` [PATCH 4/6] misc: fix $MKFS_PROG.$FSTYP usage treewide Darrick J. Wong
2020-11-11  0:43 ` [PATCH 5/6] misc: fix _get_file_block_size usage Darrick J. Wong
2020-11-11  0:43 ` Darrick J. Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160505542588.1388647.226564119701569514.stgit@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=fstests@vger.kernel.org \
    --cc=guaneryu@gmail.com \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.