Home
last modified time | relevance | path

Searched +full:- +full:- +full:with +full:- +full:test +full:- +full:nghttpx (Results 1 – 21 of 21) sorted by relevance

/external/curl/.github/workflows/
Dngtcp2-linux.yml3 # SPDX-License-Identifier: curl
5 name: ngtcp2-linux
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '**/CMakeLists.txt'
15 - '.azure-pipelines.yml'
16 - '.circleci/**'
17 - '.cirrus.yml'
[all …]
Dquiche-linux.yml3 # SPDX-License-Identifier: curl
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '**/CMakeLists.txt'
15 - '.azure-pipelines.yml'
16 - '.circleci/**'
17 - '.cirrus.yml'
18 - 'appveyor.*'
[all …]
Dosslq-linux.yml3 # SPDX-License-Identifier: curl
5 name: osslq-linux
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '**/CMakeLists.txt'
15 - '.azure-pipelines.yml'
16 - '.circleci/**'
17 - '.cirrus.yml'
[all …]
/external/curl/tests/http/
DREADME.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # The curl HTTP Test Suite
9 …ional test suite using a combination of Apache httpd and nghttpx servers to perform various tests …
13 The test cases and necessary files are in `tests/http`. You can invoke `pytest` from there or from …
17 platform darwin -- Python 3.9.15, pytest-6.2.0, py-1.10.0, pluggy-0.13.1
24-v` increases its verbosity and can be used several times. `-k <expr>` can be used to run only mat…
27 curl> pytest -vv -k test_01_02
30 runs all test cases that have `test_01_02` in their name. This does not have to be the start of the…
[all …]
Dtest_14_auth.py2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
42 def _class_scope(self, env, httpd, nghttpx): argument
44 nghttpx.start_if_needed()
45 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
51 def test_14_01_digest_get_noauth(self, env: Env, httpd, nghttpx, repeat, proto): argument
61 def test_14_02_digest_get_auth(self, env: Env, httpd, nghttpx, repeat, proto): argument
67 '--digest', '--user', 'test:test'
73 def test_14_03_digest_put_auth(self, env: Env, httpd, nghttpx, repeat, proto): argument
80 '--digest', '--user', 'test:test'
[all …]
Dtest_02_download.py2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
43 def _class_scope(self, env, httpd, nghttpx): argument
45 nghttpx.start_if_needed()
52 env.make_data_file(indir=indir, fname="data-10k", fsize=10*1024)
53 env.make_data_file(indir=indir, fname="data-100k", fsize=100*1024)
54 env.make_data_file(indir=indir, fname="data-1m", fsize=1024*1024)
55 env.make_data_file(indir=indir, fname="data-10m", fsize=10*1024*1024)
56 env.make_data_file(indir=indir, fname="data-50m", fsize=50*1024*1024)
60 def test_02_01_download_1(self, env: Env, httpd, nghttpx, repeat, proto): argument
[all …]
Dtest_07_upload.py2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
43 def _class_scope(self, env, httpd, nghttpx): argument
45 nghttpx.start_if_needed()
46 env.make_data_file(indir=env.gen_dir, fname="data-63k", fsize=63*1024)
47 env.make_data_file(indir=env.gen_dir, fname="data-64k", fsize=64*1024)
48 env.make_data_file(indir=env.gen_dir, fname="data-100k", fsize=100*1024)
49 env.make_data_file(indir=env.gen_dir, fname="data-1m+", fsize=(1024*1024)+1)
50 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
56 def test_07_01_upload_1_small(self, env: Env, httpd, nghttpx, repeat, proto): argument
[all …]
/external/curl/tests/
DREADME.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # The curl Test Suite
15 ./configure && make && make test
19 make test TFLAGS="303 410"
21 To run the tests faster, pass the -j (parallelism) flag:
23 make test TFLAGS="-j10"
25 "make test" builds the test suite support code and invokes the 'runtests.pl'
29 When you run tests via make, the flags `-a` and `-s` are passed, meaning
[all …]
DMakefile.am21 # SPDX-License-Identifier: curl
27 # scripts used in test cases
61 http-server.pl \
62 http2-server.pl \
63 http3-server.pl \
66 nghttpx.conf \
106 PERLFLAGS = -I$(srcdir)
114 TEST = @echo "NOTICE: we can't run the tests when cross-compiling!" macro
115 else # if not cross-compiling:
116 TEST = srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl macro
[all …]
Druntests.pl22 # SPDX-License-Identifier: curl
29 # are able to run curl but are unable to run the test harness.
32 # $HOSTIP, $HOST6IP - Set to the address of the host running the test suite
33 # $CLIENTIP, $CLIENT6IP - Set to the address of the host running curl
34 # runclient, runclientoutput - Modify to copy all the files in the log/
38 # the host running the test suite. This can be done a few ways, such
42 # 'make && make test' needs to be done on both machines before making the
45 # running the test suite, while the rest must be from the host running curl.
47 # Note that even with these changes a number of tests will still fail (mainly
48 # to do with cookies, those that set environment variables, or those that
[all …]
DFILEFORMAT.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # curl test suite file format
9 The curl test suite's file format is simple and extendable, closely resembling
10 XML. All data for a single test case resides in a single ASCII file. Labels
12 in its own line. Comments are either XML-style (enclosed with `<!--` and
13 `-->`) or shell script style (beginning with `#`) and must appear on their own
14 lines and not alongside actual test data. Most test data files are
19 Each test case source exists as a file matching the format
[all …]
Dservers.pm21 # SPDX-License-Identifier: curl
26 # test servers required when running tests. It is not intended for use within
122 my %PORT = (nolisten => 47); # port we use for a local non-listening service
134 my $HOSTIP="127.0.0.1"; # address on which the test server listens
135 my $HOST6IP="[::1]"; # address on which the test server listens
142 my $ftpchecktime=1; # time it took to verify our test FTP server
144 # Variables shared with runtests.pl
145 our $SOCKSIN="socksd-request.log"; # what curl sent to the SOCKS proxy
152 # Check for a command in the PATH of the test server.
164 if( -x "$_/$cmd" . exe_ext('SYS') && ! -d "$_/$cmd" . exe_ext('SYS')) {
[all …]
/external/curl/tests/http/testenv/
Dnghttpx.py2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
42 class Nghttpx: class
48 self._cmd = env.nghttpx
50 self._pid_file = os.path.join(self._run_dir, 'nghttpx.pid')
51 self._conf_file = os.path.join(self._run_dir, 'nghttpx.conf')
52 self._error_log = os.path.join(self._run_dir, 'nghttpx.log')
53 self._stderr = os.path.join(self._run_dir, 'nghttpx.stderr')
112 log.debug(f'waiting for nghttpx({running.pid}) to exit.')
114 log.debug(f'nghttpx({running.pid}) terminated -> {running.returncode}')
[all …]
Denv.py2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
83 p = subprocess.run(args=[self.curl, '-V'],
86 assert False, f'{self.curl} -V failed with exit code: {p.returncode}'
151 self.nghttpx = self.config['nghttpx']['nghttpx']
152 if len(self.nghttpx.strip()) == 0:
153 self.nghttpx = None
156 if self.nghttpx is not None:
157 p = subprocess.run(args=[self.nghttpx, '-v'],
160 # not a working nghttpx
[all …]
/external/curl/tests/data/
Dtest170011 # Server-side
16 Server: test-server/fake
17 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
18 ETag: "21025-dc7-39462498"
19 Accept-Ranges: bytes
20 Content-Length: 6
22 Content-Type: text/html
23 Funny-head: yesyes
25 -foo-
30 Content-Length: 6
[all …]
Dtest170211 # Server-side
16 Server: test-server/fake
17 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
18 ETag: "21025-dc7-39462498"
19 Accept-Ranges: bytes
20 Content-Length: 6
22 Content-Type: text/html
23 Funny-head: yesyes
29 # Client-side
39 HTTP/2 HEAD with Upgrade:
[all …]
Dtest170111 # Server-side
16 Server: test-server/fake
17 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
18 ETag: "21025-dc7-39462498"
19 Accept-Ranges: bytes
20 Content-Length: 6
22 Content-Type: text/html
23 Funny-head: yesyes
25 -foo-
30 # Client-side
[all …]
Dtest240612 # Server-side
17 Content-Length: 6
19 Content-Type: text/html
20 Funny-head: yesyes
22 -foo-
27 # Client-side
39 HTTP/2 with -f
44 -k --http2 -f "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER"
50 # Verify data after the test has been "shot"
55 content-length: 6
[all …]
/external/curl/docs/
DHTTP3.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
11 [HTTP/3 Explained](https://http3-explained.haxx.se/en/) - the online free
14 [quicwg.org](https://quicwg.org/) - home of the official protocol drafts
22 [quiche](https://github.com/cloudflare/quiche) - **EXPERIMENTAL**
24 [OpenSSL 3.2+ QUIC](https://github.com/openssl/openssl) - **EXPERIMENTAL**
26 [msh3](https://github.com/nibanks/msh3) (with [msquic](https://github.com/microsoft/msquic)) - **EX…
35 master branch using pull-requests, just like ordinary changes.
39 - the used QUIC library needs to consider itself non-beta
[all …]
/external/curl/
Dconfigure.ac21 # SPDX-License-Identifier: curl
24 dnl Process this file with autoconf to produce a configure script.
29 AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.se/mail/])
67 if test -z "$SED"; then
71 if test -z "$SED" || test "$SED" = "not_found"; then
79 if test -z "$GREP"; then
83 if test -z "$GREP" || test "$GREP" = "not_found"; then
89 dnl 'grep -E' is mandatory for configure process and libtool.
91 if test -z "$EGREP"; then
93 AC_MSG_CHECKING([that grep -E works])
[all …]
Dconfigure2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for curl -.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
19 ## -------------------------------- ##
21 ## -------------------------------- ##
66 # Try built-in echo, and fail.
73 # Verify that 'test' command is available, otherwise abort.
77 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
83 echo "$xc_msg_err 'test' command not found. $xc_msg_abrt" >&2
93 (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
[all …]