summaryrefslogtreecommitdiff
path: root/tests/sbin/sysctl
AgeCommit message (Collapse)Author
2020-07-27Use the new "run_unsafe" atf_config_get() option also with a couple of otherjruoho
tests that are known to be unsafe.
2020-07-03Skip these also for Qemu runs as they cause panics. Point to PR kern/55451.jruoho
2020-06-30Skip a few more nodes, and enable this test for Qemu runs.jruoho
2020-06-27Add a simple test case that writes random garbage to (almost) every sysctl node.jruoho
This test reproduced already at least five unique panics in a few quick runs. The test is skipped by default as it is not likely safe even without the panics.
2016-06-17When deadbeef is treated as a 32-bit signed integer, it actually has apgoyette
negative value. So, if the value gets written into a sysctl variable, and then is read back, the twos-complement value is displayed. So, when checking for the value having been written, make sure we check for the correct value!
2014-05-16Added test of -d option to sysctlpalle
2012-04-10Test that sysctl(8) does not segfault, as reported by pgoyette@ on currentjruoho
users.
2012-03-18Move more PR references from comments to ATF's "descr".jruoho
2012-03-12Remove xfail, as PR kern/44946 was fixed.jruoho
2011-05-11Remove shebang lines from test-script sources; avoids duplicate withnjoly
the build process which adds one too.
2011-05-11Do also a small functional verification that user did not succeed in writingjruoho
garbage values, even if sysctl(8) reported a failure.
2011-05-09Add one missing cleanup routine declaration.jruoho
2011-05-09Add a test case for PR kern/44946. This tests that common first level sysctljruoho
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.