diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-03-20 15:21:48 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-03-20 15:21:48 +0000 |
commit | c043bb537391372a2146985de9d975fcad22f3d4 (patch) | |
tree | ca2afdc98c9f46b3d95ee1e5a96f85df3b6712d6 /test/pyhttpd | |
parent | 43987d4e73a403fedd1150e08283f11ad0059011 (diff) | |
download | httpd-c043bb537391372a2146985de9d975fcad22f3d4.tar.gz |
pytests: test_tls_04_double_get does not want stdout separator for multiple responses.
Add no_stdout_list parameter to env.tls_get() thus to curl_raw() too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908577 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/pyhttpd')
-rw-r--r-- | test/pyhttpd/env.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pyhttpd/env.py b/test/pyhttpd/env.py index db20275f43..203284469b 100644 --- a/test/pyhttpd/env.py +++ b/test/pyhttpd/env.py @@ -530,7 +530,7 @@ class HttpdTestEnv: fd.write('\n'.join(self._httpd_base_conf)) fd.write('\n') if self._verbosity >= 2: - fd.write(f"LogLevel core:trace5 {self.mpm_module}:trace5\n") + fd.write(f"LogLevel core:trace5 {self.mpm_module}:trace5 http:trace5\n") if self._log_interesting: fd.write(self._log_interesting) fd.write('\n\n') @@ -745,11 +745,11 @@ class HttpdTestEnv: return r def curl_raw(self, urls, timeout=10, options=None, insecure=False, - force_resolve=True): + force_resolve=True, no_stdout_list=False): if not isinstance(urls, list): urls = [urls] stdout_list = False - if len(urls) > 1: + if len(urls) > 1 and not no_stdout_list: stdout_list = True args, headerfile = self.curl_complete_args( urls=urls, stdout_list=stdout_list, |