[PATCH 0/6] sysctl: add dedicated stress test driver

From: Luis R. Rodriguez
Date: Thu May 25 2017 - 19:39:25 EST


Andrew,

This series adds a dedicated proc sysctl stress test driver and extends our
current set of tests. I spun this off from a larger series to first get the
basic knobs in place for unsigned int, which are now merged in your tree, so
this series depends on those patches.

The stress test driver uses a new license (GPL on Linux, copyleft-next outside
of Linux). Linus was fine with this [0] and later due to Ted's and Alans's
request ironed out an "or" language clause to use [1] which is already present
upstream.

If there are any questions please let me know.

[0] https://lkml.kernel.org/r/CA+55aFyhxcvD+q7tp+-yrSFDKfR0mOHgyEAe=f_94aKLsOu0Og@xxxxxxxxxxxxxx
[1] https://lkml.kernel.org/r/1495234558.7848.122.camel@xxxxxxxxxxxxxxx

Luis

Luis R. Rodriguez (6):
test_sysctl: add dedicated proc sysctl test driver
test_sysctl: add generic script to expand on tests
test_sysctl: test against PAGE_SIZE for int
test_sysctl: add simple proc_dointvec() case
test_sysctl: add simple proc_douintvec() case
test_sysctl: test against int proc_dointvec() array support

lib/Kconfig.debug | 11 +
lib/Makefile | 1 +
lib/test_sysctl.c | 148 +++++
tools/testing/selftests/sysctl/Makefile | 3 +-
tools/testing/selftests/sysctl/common_tests | 109 ----
tools/testing/selftests/sysctl/config | 1 +
tools/testing/selftests/sysctl/run_numerictests | 10 -
tools/testing/selftests/sysctl/run_stringtests | 77 ---
tools/testing/selftests/sysctl/sysctl.sh | 745 ++++++++++++++++++++++++
9 files changed, 907 insertions(+), 198 deletions(-)
create mode 100644 lib/test_sysctl.c
delete mode 100644 tools/testing/selftests/sysctl/common_tests
create mode 100644 tools/testing/selftests/sysctl/config
delete mode 100755 tools/testing/selftests/sysctl/run_numerictests
delete mode 100755 tools/testing/selftests/sysctl/run_stringtests
create mode 100755 tools/testing/selftests/sysctl/sysctl.sh

--
2.11.0