]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: Do not provide finit_module(2) on older kernels
authorMichal Marek <mmarek@suse.cz>
Fri, 28 Feb 2014 12:05:30 +0000 (13:05 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 5 Mar 2014 15:22:37 +0000 (12:22 -0300)
commit063086e038657de64f9980bc51954b0817fa8e6c
treed4a83ad2ca1c20ece3194e1354e67e0b672feb8e
parent2ce5de0ae6c191920a4eeeab757ccfad092d9e0f
testsuite: Do not provide finit_module(2) on older kernels

If the test's uname -r is less that 3.8, return -ENOSYS from
finit_module(), so that the fallback is tested.
testsuite/init_module.c