]> sjero.net Git - wget/blobdiff - src/test.c
[svn] Restricted operational semantics of frontcmp and proclist from generic strings...
[wget] / src / test.c
index a124eeaa27e522ac21ba95ca8188d1266b39a886..9f54a3e4a73fb37f33d1f5d9188e7ff4fcbd3393 100644 (file)
@@ -35,14 +35,18 @@ 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();
 
-// 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);
   
   return NULL;
 }
@@ -51,7 +55,7 @@ all_tests()
 int
 main (void) 
 {
-  char *result = all_tests();
+  const char *result = all_tests();
   
   if (result != NULL) 
     {