common/fuzzy: fix fuzz verb scanning
PATCH 1/1 common/fuzzy: fix fuzz verb scanning
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 <[email protected]>
--- common/fuzzy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
common/fuzzy +2 -2
@@ -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