Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 10:27:48 GMT
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2f0161f405d7 - stable/13 - usr.bin/jail: Fix tests when using kyua -v parallelism=N
Message-ID:  <202103171027.12HARmUg096103@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=2f0161f405d74974f9ac74d8502de9ce6ba31728

commit 2f0161f405d74974f9ac74d8502de9ce6ba31728
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-02-04 17:56:54 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-03-17 09:56:40 +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
    
    (cherry picked from commit 72692dfdfe7b4ffd894afd67959651ca1b01a105)
---
 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?202103171027.12HARmUg096103>