diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2011-02-07 22:12:37 -0800 |
---|---|---|
committer | Julien Chaffraix <julien.chaffraix@gmail.com> | 2011-02-10 07:38:48 -0800 |
commit | 39d0d787d20b29ed57b10477340c7d000041d31d (patch) | |
tree | ba17ec4ce43722fe1b7322f2c8af5a407baf4dfb /tests/data | |
parent | 3cffcba3d0cf78a2aa17197059f810f5a7ce05a5 (diff) |
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')
-rw-r--r-- | tests/data/Makefile.am | 3 | ||||
-rw-r--r-- | tests/data/test1304 | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 2f4c4bcdc..3f8196d57 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -69,7 +69,8 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test569 test570 test571 test572 test804 test805 test806 test807 test573 \ test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \ test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \ - test1303 test320 test321 test322 test323 test324 test1121 test581 test580 + test1303 test320 test321 test322 test323 test324 test1121 test581 test580 \ + test1304 filecheck: @mkdir test-place; \ 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> |