git: 3e041faa828a - main - savecore/tests: Serialize the livedump test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Jul 2025 16:32:43 UTC
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>