]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: check: fix unset seqres in run_section()
authorAnand Jain <anand.jain@oracle.com>
Sat, 24 May 2025 03:57:14 +0000 (11:57 +0800)
committerZorro Lang <zlang@kernel.org>
Thu, 10 Jul 2025 21:18:16 +0000 (05:18 +0800)
commitb964de2119d525994285a6b365f35d08de93a57f
treeededdbf0435a24f733dffaa8cf03c62c60f9fdb2
parenteb0191edd4a51981387b4aa2dcf22177543ad4b1
fstests: check: fix unset seqres in run_section()

While testing, I saw that ".full" is created by _scratch_unmount(), called here:

 725 function run_section()
 ::
 815         if [ ! -z "$SCRATCH_DEV" ]; then
 816           _scratch_unmount 2> /dev/null
 817           # call the overridden mkfs - make sure the FS is built

Ensure seqres is set early in run_section() as a fix.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
check