Commit eb44ac01 authored by Yang Tse's avatar Yang Tse
Browse files

test suite: use test case specific netrc file names

parent d52f3eb5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ ftp
FTP (optional .netrc; no user/pass) dir list PASV
 </name>
 <command>
--netrc-optional --netrc-file log/netrc ftp://%HOSTIP:%FTPPORT/
--netrc-optional --netrc-file log/netrc130 ftp://%HOSTIP:%FTPPORT/
</command>
<file name="log/netrc" >
<file name="log/netrc130" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ netrc parsing unit tests
<tool>
unit1304
</tool>
<file name="log/netrc">
<file name="log/netrc1304">
machine example.com login admin password passwd
machine curl.example.com login none password none
</file>
+2 −2
Original line number Diff line number Diff line
@@ -38,9 +38,9 @@ ftp
FTP (optional .netrc; user/no pass) dir list PASV
 </name>
 <command>
--netrc-optional --netrc-file log/netrc ftp://user2@%HOSTIP:%FTPPORT/
--netrc-optional --netrc-file log/netrc131 ftp://user2@%HOSTIP:%FTPPORT/
</command>
<file name="log/netrc" >
<file name="log/netrc131" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
+2 −2
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ ftp
FTP (optional .netrc; user/passwd supplied) dir list PASV
 </name>
 <command>
--netrc-optional --netrc-file log/netrc ftp://mary:mark@%HOSTIP:%FTPPORT/
--netrc-optional --netrc-file log/netrc132 ftp://mary:mark@%HOSTIP:%FTPPORT/
</command>
<file name="log/netrc" >
<file name="log/netrc132" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
+2 −2
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ ftp
FTP (compulsory .netrc; ignored user/passwd) dir list PASV
 </name>
 <command>
-n --netrc-file log/netrc ftp://mary:mark@%HOSTIP:%FTPPORT/
-n --netrc-file log/netrc133 ftp://mary:mark@%HOSTIP:%FTPPORT/
</command>
<file name="log/netrc" >
<file name="log/netrc133" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
Loading