Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2021 17:58:13 GMT
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 72692dfdfe7b - main - usr.bin/jail: Fix tests when using kyua -v parallelism=N
Message-ID:  <202102041758.114HwDFw042247@gitrepo.freebsd.org>

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

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

commit 72692dfdfe7b4ffd894afd67959651ca1b01a105
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-02-04 17:56:54 +0000
Commit:     Alex Richardson <arichardson@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>



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