From 14664c8cc0a89f388cc4486361d7fe445a80cdab Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 18 Nov 2023 17:36:44 +0900 Subject: [PATCH] fixed test issues --- t/t-cgi.c | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 t/t-cgi.c diff --git a/t/t-cgi.c b/t/t-cgi.c deleted file mode 100644 index a6ae6d8..0000000 --- a/t/t-cgi.c +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include -#include -#include -#include - -int main () -{ - time_t current_time; - size_t i; - static const char* var[] = - { - "REQUEST_METHOD", - "REQUEST_URI", - "QUERY_STRING", - "REMOTE_ADDR", - "REMOTE_PORT", - "CONTENT_LENGTH" - }; - - printf("Content-type: text/plain\r\n\r\n"); - printf("C Program Version\n"); - current_time = time(NULL); - printf("It is now %s\n", ctime(¤t_time)); - - for (i = 0; i < sizeof(var) / sizeof(var[0]); i++) - { - printf ("%s:%s\n", var[i], getenv(var[i])); - } - - fflush(stdout); - exit (0); -}