mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
1cc5517771
commit
56a2da0467
+2
-2
@@ -312,8 +312,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
|
||||
|
||||
Reference in New Issue
Block a user