Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108553867
D47105.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47105.diff
View Options
diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -63,7 +63,6 @@
TEST_METADATA.sonewconn_overflow+= is_exclusive="true"
ATF_TESTS_SH+= sendfile_test
ATF_TESTS_SH+= sysctl_security_jail_children
-TEST_METADATA.sysctl_security_jail_children+= is_exclusive="true"
${PACKAGE}FILES+= sonewconn_overflow.py
${PACKAGE}FILESMODE_sonewconn_overflow.py=0555
diff --git a/tests/sys/kern/sysctl_security_jail_children.sh b/tests/sys/kern/sysctl_security_jail_children.sh
--- a/tests/sys/kern/sysctl_security_jail_children.sh
+++ b/tests/sys/kern/sysctl_security_jail_children.sh
@@ -24,21 +24,15 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
-#
-# Even being is_exclusive="true" this test does not expect a host to spawn
-# other jails during the test execution.
-#
atf_test_case "max_cur" "cleanup"
max_cur_head()
{
atf_set descr 'Test maximum and current number of child jails'
atf_set require.user root
+ atf_set execenv jail
}
max_cur_body()
{
- if ! which -s jail; then
- atf_skip "This test requires jail"
- fi
origin_max=$(sysctl -n security.jail.children.max)
origin_cur=$(sysctl -n security.jail.children.cur)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 7:09 AM (2 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16188839
Default Alt Text
D47105.diff (1 KB)
Attached To
Mode
D47105: tests: Switch sys/kern/sysctl_security_jail_children to execenv=jail
Attached
Detach File
Event Timeline
Log In to Comment