Message ID | 20180103222924.26347-6-lucas.demarchi@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/testsuite/testsuite.h b/testsuite/testsuite.h index bb0eb50..2b31483 100644 --- a/testsuite/testsuite.h +++ b/testsuite/testsuite.h @@ -151,6 +151,8 @@ int test_run(const struct test *t); arg = test_init(__start_kmod_tests, __stop_kmod_tests, argc, argv); \ if (arg == 0) \ return 0; \ + if (arg < 0) \ + return EXIT_FAILURE; \ \ if (arg < argc) { \ t = test_find(__start_kmod_tests, __stop_kmod_tests, argv[arg]); \