summaryrefslogtreecommitdiff
path: root/tests/data/test1304
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-07 22:12:37 -0800
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-10 07:38:48 -0800
commit39d0d787d20b29ed57b10477340c7d000041d31d (patch)
treeba17ec4ce43722fe1b7322f2c8af5a407baf4dfb /tests/data/test1304
parent3cffcba3d0cf78a2aa17197059f810f5a7ce05a5 (diff)
downloadcurl-39d0d787d20b29ed57b10477340c7d000041d31d.tar.gz
test1304: Added some unit tests for Curl_parsenetrc.
Moved some definitons into the header file so that we can reuse them.
Diffstat (limited to 'tests/data/test1304')
-rw-r--r--tests/data/test130431
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/test1304 b/tests/data/test1304
new file mode 100644
index 000000000..572e03302
--- /dev/null
+++ b/tests/data/test1304
@@ -0,0 +1,31 @@
+<testcase>
+<info>
+<keywords>
+unittest
+netrc
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+unittest
+netrc_debug
+</features>
+ <name>
+netrc parsing unit tests
+ </name>
+<tool>
+unit1304
+</tool>
+<file name="log/netrc">
+machine example.com login admin password passwd
+machine curl.example.com login none password none
+</file>
+</client>
+
+</testcase>