Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2025 16:32:43 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3e041faa828a - main - savecore/tests: Serialize the livedump test
Message-ID:  <202507021632.562GWhm8046921@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3e041faa828a359ef0b91b5203eed5ab2c11e42d

commit 3e041faa828a359ef0b91b5203eed5ab2c11e42d
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-07-02 15:04:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-07-02 16:30:46 +0000

    savecore/tests: Serialize the livedump test
    
    It assumes that the output of kldstat doesn't change over the course of
    the test, but this isn't true with parallel tests enabled.
    
    MFC after:      2 weeks
---
 sbin/savecore/tests/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sbin/savecore/tests/Makefile b/sbin/savecore/tests/Makefile
index 81e6b8ce2667..7ec3c9aeedcc 100644
--- a/sbin/savecore/tests/Makefile
+++ b/sbin/savecore/tests/Makefile
@@ -1,3 +1,6 @@
 ATF_TESTS_SH=	livedump_test log_test
 
+# The test fails if any kernel modules are loaded while the test is running.
+TEST_METADATA.livedump_test+= is_exclusive=true
+
 .include <bsd.test.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507021632.562GWhm8046921>