mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +03:00
test1304: Added some unit tests for Curl_parsenetrc.
Moved some definitons into the header file so that we can reuse them.
This commit is contained in:
parent
3cffcba3d0
commit
39d0d787d2
6 changed files with 167 additions and 8 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
31
tests/data/test1304
Normal file
31
tests/data/test1304
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue