X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Ftest.c;h=2d7e41f8149cc33281760efcdf2fdf72ab5dc8ac;hp=4e67b92347ade36be0f5edb80b98134a386bcad6;hb=4a08094db88011153adadbf995103770b20d2a31;hpb=73ff253e371f58dde04ce30f04c59f2000a1b7e5 diff --git a/src/test.c b/src/test.c index 4e67b923..2d7e41f8 100644 --- a/src/test.c +++ b/src/test.c @@ -60,32 +60,32 @@ all_tests() mu_run_test (test_append_uri_pathel); mu_run_test (test_are_urls_equal); mu_run_test (test_is_robots_txt_url); - + return NULL; } char *program_name; /* Needed by lib/error.c. */ int -main (int argc, char *argv[]) +main (int argc, char *argv[]) { const char *result; program_name = argv[0]; result = all_tests(); - - if (result != NULL) + + if (result != NULL) { puts (result); } - else + else { printf ("ALL TESTS PASSED\n"); } - + printf ("Tests run: %d\n", tests_run); - + return result != 0; }