]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
report: record ext*-specific information about a test run
authorDarrick J. Wong <djwong@kernel.org>
Wed, 15 Mar 2023 00:53:49 +0000 (17:53 -0700)
committerZorro Lang <zlang@kernel.org>
Sun, 26 Mar 2023 14:09:02 +0000 (22:09 +0800)
Report various ext* specific information about a test run.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/ext4
common/report

index 8fd6dbc6828f3ef129e1690b4572b7f540ddac64..3dcbfe17c994a6b7b5f00a0a86808a72f969a174 100644 (file)
@@ -2,6 +2,11 @@
 # ext4 specific common functions
 #
 
+__generate_ext4_report_vars() {
+       __generate_blockdev_report_vars TEST_LOGDEV
+       __generate_blockdev_report_vars SCRATCH_LOGDEV
+}
+
 _setup_large_ext4_fs()
 {
        local fs_size=$1
index 86274af887e88e7e31a001f757d9b7321ba09479..db15aec54fc47d57185d4a51285f07a16811db82 100644 (file)
@@ -66,6 +66,7 @@ __generate_report_vars() {
 
        # Add per-filesystem variables to the report variable list
        test "$FSTYP" = "xfs" && __generate_xfs_report_vars
+       [[ "$FSTYP" == ext[0-9]* ]] && __generate_ext4_report_vars
 
        # Optional environmental variables
        for varname in "${REPORT_ENV_LIST_OPT[@]}"; do