testsuite: fix find_module() finding wrong module
diff --git a/testsuite/init_module.c b/testsuite/init_module.c
index 7141566..8a963cc 100644
--- a/testsuite/init_module.c
+++ b/testsuite/init_module.c
@@ -107,7 +107,7 @@
 	struct mod *mod;
 
 	for (mod = _modules; mod != NULL; mod = mod->next) {
-		if (strcmp(mod->name, modname))
+		if (strcmp(mod->name, modname) == 0)
 			return mod;
 	}