]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/kunit/kunit-example-test.c
kunit: allow kunit tests to be loaded as a module
[linux.git] / lib / kunit / kunit-example-test.c
similarity index 97%
rename from lib/kunit/example-test.c
rename to lib/kunit/kunit-example-test.c
index f64a829aa441fdab8c3f7af9433f88248caf759e..be1164ecc476154389c79909bbb5f335ac0fc7e6 100644 (file)
@@ -85,4 +85,6 @@ static struct kunit_suite example_test_suite = {
  * This registers the above test suite telling KUnit that this is a suite of
  * tests that need to be run.
  */
-kunit_test_suite(example_test_suite);
+kunit_test_suites(&example_test_suite);
+
+MODULE_LICENSE("GPL v2");