testsuite: Check the list of loaded modules after a test
authorMichal Marek <mmarek@suse.cz>
Fri, 28 Feb 2014 12:05:28 +0000 (13:05 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 5 Mar 2014 15:22:37 +0000 (12:22 -0300)
commit88ac40840f0d13aaca844bb7198c252178968878
tree2374655f32dc6441f383ee025ebe8f1926f25aa0
parenta4bd1441e5c7e8903a9ae065801d4f06f13d06e9
testsuite: Check the list of loaded modules after a test

Add a ->modules_loaded member to struct test, which is a comma-separated
list of modules that should be present after the test finishes. Both
missing and excess modules cause an error.
testsuite/test-init.c
testsuite/test-modprobe.c
testsuite/testsuite.c
testsuite/testsuite.h