aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib501.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib501.c')
-rw-r--r--tests/libtest/lib501.c13
1 files changed, 13 insertions, 0 deletions
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"