From 23ad3fedba2e2e694490c249d0ab27c14f5e2d2b Mon Sep 17 00:00:00 2001 From: "Crunch (Chaz9)" Date: Sat, 2 Mar 2024 19:52:10 +0000 Subject: [PATCH] 3 air --- .../external/curl/curl/tests/data/test1362 | 96 +++++++++++++++++++ .../external/curl/curl/tests/data/test1363 | 79 +++++++++++++++ .../external/curl/curl/tests/data/test1364 | 69 +++++++++++++ .../external/curl/curl/tests/data/test1365 | 66 +++++++++++++ .../external/curl/curl/tests/data/test1366 | 71 ++++++++++++++ 5 files changed, 381 insertions(+) create mode 100644 sonic3air-main/framework/external/curl/curl/tests/data/test1362 create mode 100644 sonic3air-main/framework/external/curl/curl/tests/data/test1363 create mode 100644 sonic3air-main/framework/external/curl/curl/tests/data/test1364 create mode 100644 sonic3air-main/framework/external/curl/curl/tests/data/test1365 create mode 100644 sonic3air-main/framework/external/curl/curl/tests/data/test1366 diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1362 b/sonic3air-main/framework/external/curl/curl/tests/data/test1362 new file mode 100644 index 00000000..5c27b14a --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1362 @@ -0,0 +1,96 @@ + + + +FTP +RETR + + + +# Server-side + +# file%TESTNUMBER contents... + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange + +MOOOO + + + +# Client-side + +# this relies on the debug feature to allow us to set directory to store the +# -O output in, using the CURL_TESTDIR variable + +debug + + +ftp + + +FTP download, file with C-D inside, using -O -i -D stdout + + +CURL_TESTDIR=%PWD/log + + +ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D - + + +perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +CWD path +EPSV +TYPE I +SIZE file%TESTNUMBER +RETR file%TESTNUMBER +QUIT + + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange + +MOOOO + + + +220- _ _ ____ _ +220- ___| | | | _ \| | +220- / __| | | | |_) | | +220- | (__| |_| | _ {| |___ +220 \___|\___/|_| \_\_____| +331 We are happy you popped in! +230 Welcome you silly person +257 "/" is current directory +250 CWD command successful. +229 Entering Passive Mode (stripped) +200 I modify TYPE as you wanted +213 214 +150 Binary data connection for %TESTNUMBER () (214 bytes). +226 File transfer complete + + +s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ + + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1363 b/sonic3air-main/framework/external/curl/curl/tests/data/test1363 new file mode 100644 index 00000000..2d32029e --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1363 @@ -0,0 +1,79 @@ + + + +FTP +RETR + + + +# Server-side + +# file%TESTNUMBER contents... + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange + +MOOOO + + + +# Client-side + +# this relies on the debug feature to allow us to set directory to store the +# -O output in, using the CURL_TESTDIR variable + +debug + + +ftp + + +FTP download, file with C-D inside, using -O -i, without -D + + +CURL_TESTDIR=%PWD/log + + +ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i + + +perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +CWD path +EPSV +TYPE I +SIZE file%TESTNUMBER +RETR file%TESTNUMBER +QUIT + + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange + +MOOOO + + + + + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1364 b/sonic3air-main/framework/external/curl/curl/tests/data/test1364 new file mode 100644 index 00000000..6efdfb2c --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1364 @@ -0,0 +1,69 @@ + + + +HTTP +HTTP GET + + + +# + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html + +12345 + + + +# +# Client-side + + +http + + +HTTP GET -o fname without Content-Disposition, -D file + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER + + +perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + + +12345 + + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html + + + + + + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1365 b/sonic3air-main/framework/external/curl/curl/tests/data/test1365 new file mode 100644 index 00000000..ee4b4909 --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1365 @@ -0,0 +1,66 @@ + + + +HTTP +HTTP GET + + + +# + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html + +12345 + + + +# +# Client-side + + +http + + +HTTP GET -o fname without Content-Disposition, -D stdout + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D - + + +perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + + +12345 + + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html + + + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1366 b/sonic3air-main/framework/external/curl/curl/tests/data/test1366 new file mode 100644 index 00000000..7fdaa294 --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1366 @@ -0,0 +1,71 @@ + + + +HTTP +HTTP GET + + + +# + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange + +12345 + + + +# +# Client-side + + +http + + +HTTP GET -o fname and Content-Disposition, -D file + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER + + +perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + + +12345 + + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange + + + + + + + +