X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Ftest.c;fp=src%2Ftest.c;h=9f54a3e4a73fb37f33d1f5d9188e7ff4fcbd3393;hp=06cd0a4b03e187bd7ae18b8609ce133b8e3f17fe;hb=ea4ffded27decc9f4baf8ab10c09bc4e7b5834f5;hpb=0bd1751372b7b4ab3d0913dab2980b5100087a85 diff --git a/src/test.c b/src/test.c index 06cd0a4b..9f54a3e4 100644 --- a/src/test.c +++ b/src/test.c @@ -35,12 +35,18 @@ so, delete this exception statement from your version. */ #error "TESTING not set!!!" #endif +const char *test_parse_content_disposition(); +const char *test_subdir_p(); +const char *test_dir_matches_p(); + int tests_run; -static char * +static const char * all_tests() { mu_run_test (test_parse_content_disposition); + mu_run_test (test_subdir_p); + mu_run_test (test_dir_matches_p); return NULL; } @@ -49,7 +55,7 @@ all_tests() int main (void) { - char *result = all_tests(); + const char *result = all_tests(); if (result != NULL) {