aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/first.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-12 12:11:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-12 12:11:16 +0000
commit7196d784d330df3030b782e097799629f4b80a61 (patch)
treed6d90c80217f536f9db3bab83551c28e97bf0218 /tests/libtest/first.c
parent0f0aaf51e01822834a75dff94f1f0f44cc3d31c2 (diff)
The first ever attempts to do pure libcurl test cases
Diffstat (limited to 'tests/libtest/first.c')
-rw-r--r--tests/libtest/first.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c
new file mode 100644
index 000000000..303766fc8
--- /dev/null
+++ b/tests/libtest/first.c
@@ -0,0 +1,10 @@
+#include <curl/curl.h>
+
+int main(int argc, char **argv)
+{
+ if(argc< 2 ) {
+ fprintf(stderr, "Pass URL as argument please\n");
+ return 1;
+ }
+
+ curl_memdebug("memdump");