mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
345557248e
Fixes: - in uds tests, abort also silently on os errors - be conservative on the h3 goaway duration - detect curl debug build and use in checks - fix caddy version check for slight difference under linux - set caddy default path fitting for linux - fix deprecation warnings in valid time checks FTP tests: - add '--with-test-vsftpd=path' to configure - use vsftpd default path suitable for linux - add test_30 with plain FTP tests - add test_31 with --ssl-reqd FTP tests - add vsftpd to linux GHA for pytest workflows Closes #13661
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
#***************************************************************************
|
|
# _ _ ____ _
|
|
# Project ___| | | | _ \| |
|
|
# / __| | | | |_) | |
|
|
# | (__| |_| | _ <| |___
|
|
# \___|\___/|_| \_\_____|
|
|
#
|
|
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# This software is licensed as described in the file COPYING, which
|
|
# you should have received as part of this distribution. The terms
|
|
# are also available at https://curl.se/docs/copyright.html.
|
|
#
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
#
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
# KIND, either express or implied.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
#
|
|
###########################################################################
|
|
#
|
|
import pytest
|
|
pytest.register_assert_rewrite("testenv.env", "testenv.curl", "testenv.caddy",
|
|
"testenv.httpd", "testenv.nghttpx")
|
|
|
|
from .env import Env
|
|
from .certs import TestCA, Credentials
|
|
from .caddy import Caddy
|
|
from .httpd import Httpd
|
|
from .curl import CurlClient, ExecResult, RunProfile
|
|
from .client import LocalClient
|
|
from .nghttpx import Nghttpx
|
|
from .nghttpx import Nghttpx, NghttpxQuic, NghttpxFwd
|
|
from .vsftpd import VsFTPD
|