]> sjero.net Git - wget/blobdiff - src/test.c
[svn] Added support for --restrict-file-names=lowercase and --restrict-file-names...
[wget] / src / test.c
index 06cd0a4b03e187bd7ae18b8609ce133b8e3f17fe..bc24feaa000944acc772e4ea39530c5ee148e75c 100644 (file)
@@ -35,12 +35,22 @@ 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();
+const char *test_cmd_spec_restrict_file_names();
+const char *test_append_uri_pathel();
+
 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);
+  mu_run_test (test_cmd_spec_restrict_file_names);
+  mu_run_test (test_append_uri_pathel);
   
   return NULL;
 }
@@ -49,7 +59,7 @@ all_tests()
 int
 main (void) 
 {
-  char *result = all_tests();
+  const char *result = all_tests();
   
   if (result != NULL) 
     {