commit | a99d245e1557b0e14b5af8487397848a5437e049 | [log] [tgz] |
---|---|---|
author | Luis R. Rodriguez <mcgrof@kernel.org> | Wed Feb 08 16:09:43 2017 -0800 |
committer | Luis R. Rodriguez <mcgrof@kernel.org> | Thu Feb 09 13:50:26 2017 -0800 |
tree | 38efd2e52be85d950706a5f8d4cc865926a2dfe6 | |
parent | 5cafb02ed4ba96cb32ae44a0e8b74c51b03ab12f [diff] |
test_sysctl: test against PAGE_SIZE for int Add the following tests to ensure we do not regress: o Test using a buffer full of space (PAGE_SIZE-1) followed by a single digit works o Test using a buffer full of spaces (PAGE_SIZE or over) will fail As tests increase instead of unloading the module and reloading it we can just do a shell reset_vals() with a reset to values we know are set at init on the driver. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>