From: Darrick J. Wong Date: Fri, 30 Dec 2022 22:19:40 +0000 (-0800) Subject: common/fuzzy: add an underline to the full log between sections X-Git-Tag: v2023.02.26~24 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=19327c1a0ed373caa3ea666417a5f7449dca6ea3;p=xfstests-dev.git common/fuzzy: add an underline to the full log between sections The fuzz scripts use __fuzz_notify in effect to log each step in the fuzz process. Enhance it to print an "underline" to ease readability a bit. Signed-off-by: Darrick J. Wong Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/common/fuzzy b/common/fuzzy index a2aa089b..eb5343b0 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -190,7 +190,9 @@ __scratch_xfs_fuzz_mdrestore() } __fuzz_notify() { + echo '========================================' echo "$@" + echo '========================================' test -w /dev/ttyprintk && echo "$@" >> /dev/ttyprintk } @@ -348,7 +350,6 @@ __scratch_xfs_fuzz_field_test() { # Set the new field value __fuzz_notify "+ Fuzz ${field} = ${fuzzverb}" - echo "========================" _scratch_xfs_fuzz_metadata_field "${field}" ${fuzzverb} "$@" res=$? test $res -ne 0 && return