From 7196d784d330df3030b782e097799629f4b80a61 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 12 Dec 2002 12:11:16 +0000 Subject: The first ever attempts to do pure libcurl test cases --- tests/libtest/lib501.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/libtest/lib501.c (limited to 'tests/libtest/lib501.c') diff --git a/tests/libtest/lib501.c b/tests/libtest/lib501.c new file mode 100644 index 000000000..4199598fa --- /dev/null +++ b/tests/libtest/lib501.c @@ -0,0 +1,13 @@ +#include "first.c" + +fprintf(stderr, "URL: %s\n", argv[1]); + +CURL *curl; +CURLcode res; +curl = curl_easy_init(); +curl_easy_setopt(curl, CURLOPT_HEADER, TRUE); +res = curl_easy_perform(curl); +curl_easy_cleanup(curl); + +return res; +#include "last.c" -- cgit v1.2.3