git: afe2a4025c1f - stable/14 - savecore/tests: Serialize the livedump test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Jul 2025 12:49:06 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=afe2a4025c1fbb9efb62bfbe59e50e573c7124d3
commit afe2a4025c1fbb9efb62bfbe59e50e573c7124d3
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-07-02 15:04:25 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-07-29 12:08:32 +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
(cherry picked from commit 3e041faa828a359ef0b91b5203eed5ab2c11e42d)
---
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>