Skip to contentSkip to conversation

common/fuzzy: fix fuzz verb scanning

PATCH New Darrick J. Wong 1 participant 1 message Aug 18, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
 common/fuzzy |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
common/fuzzy +2 -2
index c9f7e90..7a4b03a 100644
@@ -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