Skip to content

pytest, fixes for recent python, add FTP tests - #13661

Closed
icing wants to merge 5 commits into
curl:masterfrom
icing:pytest-fixes-and-ftp
Closed

pytest, fixes for recent python, add FTP tests#13661
icing wants to merge 5 commits into
curl:masterfrom
icing:pytest-fixes-and-ftp

Conversation

@icing

@icing icing commented May 15, 2024

Copy link
Copy Markdown
Contributor

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

@github-actions github-actions Bot added tests CI Continuous Integration labels May 15, 2024
@icing icing added the FTP label May 15, 2024
@dfandrich

dfandrich commented May 15, 2024 via email

Copy link
Copy Markdown
Contributor

@icing

icing commented May 15, 2024

Copy link
Copy Markdown
Contributor Author

Shouldn't the ftp tests go into a new "tests/ftp/" directory? It's unexpected seeing ftp tests in a directory called "http".

That would be one idea. Or rename http to something else.

@bagder

bagder commented May 15, 2024

Copy link
Copy Markdown
Member

I think the rustls.c fixes should be put into a separate PR to keep this one limited to the test suite.

@icing

icing commented May 16, 2024

Copy link
Copy Markdown
Contributor Author

I think the rustls.c fixes should be put into a separate PR to keep this one limited to the test suite.

Done in #13670.

icing added 5 commits May 17, 2024 10:09
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
- fix rustls errors from CURLE_READ_ERROR to CURLE_RECV_ERROR
- exclude some tests on h3 if not available in curl
@icing
icing force-pushed the pytest-fixes-and-ftp branch from 6774439 to 8e7153a Compare May 17, 2024 11:27
@bagder

bagder commented May 17, 2024

Copy link
Copy Markdown
Member

I propose tests/pytests as a new name, but done in a separate PR.

@bagder bagder closed this in 3455572 May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration FTP tests

Development

Successfully merging this pull request may close these issues.

3 participants