git: 72692dfdfe7b - main - usr.bin/jail: Fix tests when using kyua -v parallelism=N

Alex Richardson arichardson at FreeBSD.org
Thu Feb 4 17:58:13 UTC 2021


The branch main has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=72692dfdfe7b4ffd894afd67959651ca1b01a105

commit 72692dfdfe7b4ffd894afd67959651ca1b01a105
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-02-04 17:56:54 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-02-04 17:56:55 +0000

    usr.bin/jail: Fix tests when using kyua -v parallelism=N
    
    These tests create jails with the same name, so they cannot be run in
    parallel.
    
    Reviewed By:    lwhsu
    Differential Revision: https://reviews.freebsd.org/D28482
---
 usr.sbin/jail/tests/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/jail/tests/Makefile b/usr.sbin/jail/tests/Makefile
index 24c0c6c05194..216a5a581980 100644
--- a/usr.sbin/jail/tests/Makefile
+++ b/usr.sbin/jail/tests/Makefile
@@ -5,5 +5,7 @@ PACKAGE=        tests
 ATF_TESTS_SH+=  jail_basic_test
 
 ${PACKAGE}FILES+=	commands.jail.conf
+# The different test cases create jails with the same name.
+TEST_METADATA+= is_exclusive="true"
 
 .include <bsd.test.mk>


More information about the dev-commits-src-main mailing list