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
55 changed files
with
3,252 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
sonic3air-main/framework/external/curl/curl/tests/data/test117
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,44 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
FTP | ||
FAILURE | ||
</keywords> | ||
</info> | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
REPLY EPSV 314 bluah you f00l! | ||
REPLY TYPE 314 bluah you f00l! | ||
</servercmd> | ||
</reply> | ||
|
||
# Client-side | ||
<client> | ||
<server> | ||
ftp | ||
</server> | ||
<name> | ||
FTP download, failed TYPE | ||
</name> | ||
<command> | ||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER | ||
</command> | ||
</client> | ||
|
||
# Verify data after the test has been "shot" | ||
<verify> | ||
<errorcode> | ||
17 | ||
</errorcode> | ||
<protocol> | ||
USER anonymous | ||
PASS ftp@example.com | ||
PWD | ||
EPSV | ||
PASV | ||
TYPE I | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
67 changes: 67 additions & 0 deletions
67
sonic3air-main/framework/external/curl/curl/tests/data/test1170
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,67 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
HTTP | ||
HTTP GET | ||
compressed | ||
Transfer-Encoding | ||
</keywords> | ||
</info> | ||
# | ||
# Server-side | ||
<reply> | ||
<data base64="yes"> | ||
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy | ||
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg | ||
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K | ||
VmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J | ||
U08tODg1OS0xDQpUcmFuc2Zlci1FbmNvZGluZzogZ3ppcCwgY2h1bmtlZA0KDQoyYw0KH4sICHme | ||
q0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAANCjANCg0K | ||
</data> | ||
|
||
<datacheck> | ||
HTTP/1.1 200 OK | ||
Date: Mon, 29 Nov 2004 21:56:53 GMT | ||
Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29 | ||
Vary: Accept-Encoding | ||
Content-Type: text/html; charset=ISO-8859-1 | ||
Transfer-Encoding: gzip, chunked | ||
|
||
line 1 | ||
line 2 | ||
line 3 | ||
</datacheck> | ||
|
||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<features> | ||
libz | ||
</features> | ||
<server> | ||
http | ||
</server> | ||
<name> | ||
HTTP GET transfer-encoding with removed Connection: | ||
</name> | ||
<command> | ||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection:" | ||
</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: */* | ||
Connection: TE | ||
TE: gzip | ||
|
||
</protocol> | ||
</verify> | ||
</testcase> |
67 changes: 67 additions & 0 deletions
67
sonic3air-main/framework/external/curl/curl/tests/data/test1171
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,67 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
HTTP | ||
HTTP GET | ||
compressed | ||
Transfer-Encoding | ||
</keywords> | ||
</info> | ||
# | ||
# Server-side | ||
<reply> | ||
<data base64="yes"> | ||
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy | ||
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg | ||
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K | ||
VmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J | ||
U08tODg1OS0xDQpUcmFuc2Zlci1FbmNvZGluZzogZ3ppcCwgY2h1bmtlZA0KDQoyYw0KH4sICHme | ||
q0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAANCjANCg0K | ||
</data> | ||
|
||
<datacheck> | ||
HTTP/1.1 200 OK | ||
Date: Mon, 29 Nov 2004 21:56:53 GMT | ||
Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29 | ||
Vary: Accept-Encoding | ||
Content-Type: text/html; charset=ISO-8859-1 | ||
Transfer-Encoding: gzip, chunked | ||
|
||
line 1 | ||
line 2 | ||
line 3 | ||
</datacheck> | ||
|
||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<features> | ||
libz | ||
</features> | ||
<server> | ||
http | ||
</server> | ||
<name> | ||
HTTP GET transfer-encoding with blanked Connection: | ||
</name> | ||
<command> | ||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection;" | ||
</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: */* | ||
Connection: TE | ||
TE: gzip | ||
|
||
</protocol> | ||
</verify> | ||
</testcase> |
48 changes: 48 additions & 0 deletions
48
sonic3air-main/framework/external/curl/curl/tests/data/test1172
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> | ||
HTTP | ||
HTTP/0.9 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<data> | ||
-foo- swsclose | ||
</data> | ||
<datacheck> | ||
</datacheck> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
http | ||
</server> | ||
<name> | ||
HTTP/0.9 GET response denied | ||
</name> | ||
<command> | ||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --no-http0.9 | ||
</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> | ||
# unsupported protocol | ||
<errorcode> | ||
1 | ||
</errorcode> | ||
</verify> | ||
</testcase> |
32 changes: 32 additions & 0 deletions
32
sonic3air-main/framework/external/curl/curl/tests/data/test1173
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,32 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
source analysis | ||
documentation | ||
--manual | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
none | ||
</server> | ||
|
||
<name> | ||
Man page syntax checks | ||
</name> | ||
|
||
<command type="perl"> | ||
%SRCDIR/manpage-syntax.pl %SRCDIR/../docs/libcurl/symbols-in-versions %SRCDIR/../docs/*.1 %SRCDIR/../docs/libcurl/*.3 %SRCDIR/../docs/libcurl/opts/*.3 | ||
</command> | ||
</client> | ||
|
||
<verify> | ||
<stderr> | ||
ok | ||
</stderr> | ||
</verify> | ||
|
||
</testcase> |
48 changes: 48 additions & 0 deletions
48
sonic3air-main/framework/external/curl/curl/tests/data/test1174
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> | ||
HTTP | ||
HTTP/0.9 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<data> | ||
-foo- swsclose | ||
</data> | ||
<datacheck> | ||
</datacheck> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
http | ||
</server> | ||
<name> | ||
HTTP/0.9 GET response denied by default | ||
</name> | ||
<command> | ||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER | ||
</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> | ||
# unsupported protocol | ||
<errorcode> | ||
1 | ||
</errorcode> | ||
</verify> | ||
</testcase> |
25 changes: 25 additions & 0 deletions
25
sonic3air-main/framework/external/curl/curl/tests/data/test1175
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,25 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
source analysis | ||
symbols-in-versions | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
none | ||
</server> | ||
|
||
<name> | ||
Verify that symbols-in-versions and libcurl-errors.3 are in sync | ||
</name> | ||
|
||
<command type="perl"> | ||
%SRCDIR/error-codes.pl %SRCDIR | ||
</command> | ||
</client> | ||
|
||
</testcase> |
Oops, something went wrong.