]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: remind users to build tools
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 25 Jan 2012 22:25:46 +0000 (20:25 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 26 Jan 2012 18:05:05 +0000 (16:05 -0200)
testsuite/testsuite.c

index 3c8b03fbd7d99ac53234c5581ae4615ea960f403..bb0dacdb0ad48aae94126820a0559ef1ed0cb34f 100644 (file)
@@ -123,11 +123,12 @@ static int test_run_spawned(const struct test *t)
        return EXIT_FAILURE;
 }
 
-int test_spawn_prog(const char *prog, const char *args[])
+int test_spawn_prog(const char *prog, const char *const args[])
 {
        execv(prog, (char *const *) args);
 
-       ERR("failed to spawn %s ", prog);
+       ERR("failed to spawn %s\n", prog);
+       ERR("did you forget to build tools?\n");
        return EXIT_FAILURE;
 }