Command line interface now takes more human-friendly timestamps. This
[disorder] / lib / t-cookies.c
index 7fdde32..c8ec504 100644 (file)
  */
 #include "test.h"
 
-void test_cookies(void) {
+static void test_cookies(void) {
   struct cookiedata cd[1];
 
-  fprintf(stderr, "test_cookies\n");
-
   /* These are the examples from RFC2109 */
   insist(!parse_cookie("$Version=\"1\"; Customer=\"WILE_E_COYOTE\"; $Path=\"/acme\"", cd));
   insist(!strcmp(cd->version, "1"));
@@ -72,6 +70,8 @@ void test_cookies(void) {
   insist(cd->cookies[0].domain == 0);
 }
 
+TEST(cookies);
+
 /*
 Local Variables:
 c-basic-offset:2