Enji Cooper 8e62f8414e Adjust vm.max_wired in order to avoid hitting EAGAIN artificially
Set vm.max_wired to INT_MAX in :mlock_err, :mlock_mmap, and :mlock_nested to
avoid hitting EAGAIN artificially on the system when running the tests

Require root privileges in order to set the sysctl

Add allow_sysctl_side_effects to require.config as this test is now adjusting
sysctls that can affect the global system state

Unlike the version submitted by cem in OneFS, this version uses a scratch file
to save/restore the previous value of the sysctl. I _really_, _really_ wish
there were better hooks in atf/kyua for per test suite setup/teardown -- using
a file is kludgy, but it's the best I can do to avoid situations where (for
instance), sysctl(3) may fail and drop a core outside the kyua sandbox.

Based on a patch submitted by cem, but modified to take business logic out of
ATF_TP_ADD_TCS(3).

Differential Revision: https://reviews.freebsd.org/D4779
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
2016-01-27 06:24:19 +00:00
..
2015-01-29 15:35:55 +00:00
2015-08-09 05:14:25 +00:00
2015-05-21 05:06:08 +00:00
2015-12-25 16:19:21 +00:00
2014-12-26 07:36:42 +00:00
2016-01-22 16:59:06 +00:00
2015-10-11 17:45:20 +00:00
2016-01-24 15:12:49 +00:00
2015-09-23 05:39:20 +00:00
2016-01-23 15:33:11 +00:00
2016-01-05 05:25:16 +00:00
2015-07-28 18:41:28 +00:00
2015-01-06 22:29:12 +00:00
2016-01-18 08:52:09 +00:00
2015-09-27 07:04:16 +00:00
2016-01-22 07:32:39 +00:00
2015-05-04 21:07:20 +00:00
2015-12-31 22:45:00 +00:00
2015-07-08 23:57:58 +00:00
2014-11-11 04:06:05 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-12-14 13:01:51 +00:00
2015-01-03 23:16:13 +00:00
2015-11-21 09:09:25 +00:00