]> sjero.net Git - wget/blobdiff - src/test.c
[svn] Fixes for recursive spider mode.
[wget] / src / test.c
index 5f547d8411cb935c73fdd2b8bd65a8820dfb899d..164a6d99814087984a3aaa644b0f11ce2f882a6e 100644 (file)
@@ -35,14 +35,26 @@ so, delete this exception statement from your version.  */
 #error "TESTING not set!!!"
 #endif
 
-int tests_run;
+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();
+const char *test_are_urls_equal();
+const char *test_is_robots_txt_url();
 
-/* char *test_ccache(); */
+int tests_run;
 
-static char *
+static const char *
 all_tests()
 {
-  /* mu_run_test (test_ccache); */
+  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);
+  mu_run_test (test_are_urls_equal);
+  mu_run_test (test_is_robots_txt_url);
   
   return NULL;
 }
@@ -51,7 +63,7 @@ all_tests()
 int
 main (void) 
 {
-  char *result = all_tests();
+  const char *result = all_tests();
   
   if (result != NULL) 
     {