forked from Xeeynamo/sonic-hybrid-rsdk
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
391 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
sonic3air-main/framework/external/curl/curl/tests/data/test1219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
PASV | ||
RETR | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<data> | ||
data | ||
to | ||
see | ||
that FTP | ||
works | ||
so does it? | ||
</data> | ||
<servercmd> | ||
REPLY welcome 230 welcome without password | ||
</servercmd> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP with no user+password required (230 response) | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER | ||
</command> | ||
|
||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
PWD | ||
EPSV | ||
TYPE I | ||
SIZE %TESTNUMBER | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
45 changes: 45 additions & 0 deletions
45
sonic3air-main/framework/external/curl/curl/tests/data/test122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
PASV | ||
Resume | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<size> | ||
5 | ||
</size> | ||
<servercmd> | ||
REPLY EPSV 500 no such command | ||
</servercmd> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP download resume with whole file already downloaded | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 5 | ||
</command> | ||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
USER anonymous | ||
PASS [email protected] | ||
PWD | ||
EPSV | ||
PASV | ||
TYPE I | ||
SIZE %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
37 changes: 37 additions & 0 deletions
37
sonic3air-main/framework/external/curl/curl/tests/data/test1220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FILE | ||
URL | ||
</keywords> | ||
</info> | ||
|
||
# Server-side | ||
<reply> | ||
<data> | ||
</data> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
file | ||
</server> | ||
<name> | ||
file:// URLs with query string | ||
</name> | ||
<command option="no-include"> | ||
file://localhost%FILE_PWD/log/test%TESTNUMBER.txt?a_query=foobar#afragment | ||
</command> | ||
<file name="log/test%TESTNUMBER.txt"> | ||
contents in a single file | ||
</file> | ||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<stdout> | ||
contents in a single file | ||
</stdout> | ||
</verify> | ||
</testcase> |
58 changes: 58 additions & 0 deletions
58
sonic3air-main/framework/external/curl/curl/tests/data/test1223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
HTTP | ||
HTTP GET | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# disable data check since it gets sent to stdout and is verified there | ||
<reply> | ||
<data nocheck="yes"> | ||
HTTP/1.1 200 OK | ||
Date: Tue, 09 Nov 2010 14:49:00 GMT | ||
Content-Length: 4 | ||
Connection: close | ||
Content-Type: text/html | ||
|
||
hej | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
http | ||
</server> | ||
<name> | ||
HTTP GET -w remote_ip and -w remote_port | ||
</name> | ||
<command> | ||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w 'IP %{remote_ip} and PORT %{remote_port}\n' | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
GET /%TESTNUMBER HTTP/1.1 | ||
Host: %HOSTIP:%HTTPPORT | ||
User-Agent: curl/%VERSION | ||
Accept: */* | ||
|
||
</protocol> | ||
<stdout> | ||
HTTP/1.1 200 OK | ||
Date: Tue, 09 Nov 2010 14:49:00 GMT | ||
Content-Length: 4 | ||
Connection: close | ||
Content-Type: text/html | ||
|
||
hej | ||
IP %HOSTIP and PORT %HTTPPORT | ||
</stdout> | ||
</verify> | ||
</testcase> |
49 changes: 49 additions & 0 deletions
49
sonic3air-main/framework/external/curl/curl/tests/data/test1224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
PASV | ||
RETR | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<data> | ||
data | ||
to | ||
see | ||
that FTP | ||
works | ||
so does it? | ||
</data> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP fetch a file from the root directory | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT//%TESTNUMBER | ||
</command> | ||
|
||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
USER anonymous | ||
PASS [email protected] | ||
PWD | ||
CWD / | ||
EPSV | ||
TYPE I | ||
SIZE %TESTNUMBER | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
56 changes: 56 additions & 0 deletions
56
sonic3air-main/framework/external/curl/curl/tests/data/test1225
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
PASV | ||
RETR | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<data> | ||
data | ||
to | ||
see | ||
that FTP | ||
works | ||
so does it? | ||
</data> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP fetch two files using absolute paths | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT//foo/%TESTNUMBER ftp://%HOSTIP:%FTPPORT//foo/bar/%TESTNUMBER | ||
</command> | ||
|
||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
USER anonymous | ||
PASS [email protected] | ||
PWD | ||
CWD / | ||
CWD foo | ||
EPSV | ||
TYPE I | ||
SIZE %TESTNUMBER | ||
RETR %TESTNUMBER | ||
CWD / | ||
CWD foo | ||
CWD bar | ||
EPSV | ||
SIZE %TESTNUMBER | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
49 changes: 49 additions & 0 deletions
49
sonic3air-main/framework/external/curl/curl/tests/data/test1226
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
PASV | ||
RETR | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<data> | ||
data | ||
to | ||
see | ||
that FTP | ||
works | ||
so does it? | ||
</data> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP fetch a file from the root directory with singlecwd | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT//%TESTNUMBER --ftp-method singlecwd | ||
</command> | ||
|
||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
USER anonymous | ||
PASS [email protected] | ||
PWD | ||
CWD / | ||
EPSV | ||
TYPE I | ||
SIZE %TESTNUMBER | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
48 changes: 48 additions & 0 deletions
48
sonic3air-main/framework/external/curl/curl/tests/data/test1227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
PASV | ||
RETR | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<data> | ||
data | ||
to | ||
see | ||
that FTP | ||
works | ||
so does it? | ||
</data> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP fetch a file from the root directory with nocwd | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT//%TESTNUMBER --ftp-method nocwd | ||
</command> | ||
|
||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
USER anonymous | ||
PASS [email protected] | ||
PWD | ||
EPSV | ||
TYPE I | ||
SIZE /%TESTNUMBER | ||
RETR /%TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |