* [PATCH] common/fuzzy: fix fuzz verb scanning
@ 2017-08-18 20:52 Darrick J. Wong
0 siblings, 0 replies; only message in thread
From: Darrick J. Wong @ 2017-08-18 20:52 UTC (permalink / raw)
To: Eryu Guan; +Cc: fstests
As part of upstreaming, the xfs_db fuzz command change the help output
which breaks the fuzzers' ability to detect fuzz verbs. Fix that.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
common/fuzzy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/fuzzy b/common/fuzzy
index c9f7e90..7a4b03a 100644
--- a/common/fuzzy
+++ b/common/fuzzy
@@ -313,8 +313,8 @@ _scratch_xfs_list_fuzz_verbs() {
echo "${SCRATCH_XFS_LIST_FUZZ_VERBS}" | tr '[ ,]' '[\n\n]'
return;
fi
- _scratch_xfs_db -x -c 'sb 0' -c 'fuzz' | grep '^Verbs:' | \
- sed -e 's/[,.]//g' -e 's/Verbs: //g' -e 's/ /\n/g'
+ _scratch_xfs_db -x -c 'sb 0' -c 'fuzz' | grep '^Fuzz commands:' | \
+ sed -e 's/[,.]//g' -e 's/Fuzz commands: //g' -e 's/ /\n/g'
}
# Fuzz some of the fields of some piece of metadata
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-18 20:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-18 20:52 [PATCH] common/fuzzy: fix fuzz verb scanning Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox