Skip to content

Adds a custom pytest option for archiving logs and conf files#604

Open
ichristod wants to merge 18 commits intoapache:trunkfrom
ichristod:enhance-pyhttpd-archive-option
Open

Adds a custom pytest option for archiving logs and conf files#604
ichristod wants to merge 18 commits intoapache:trunkfrom
ichristod:enhance-pyhttpd-archive-option

Conversation

@ichristod
Copy link
Copy Markdown

The purpose of this PR is to enrich python test suite with the capability of log archiving.

With the current situation, httpd/test/gen/apache folder keeps logs and configurations of the last pytest execution either it was about a module or single test.
In addition, if you wanted to compare test results between two httpd versions, you would have to manually preserve the contents of the test/gen/apache/, before cleaning, building and installing a new httpd version.

With the --archive/archive-all option you only need to provide the parameter of the /path/to/archive and it handles the creation and the updates of the archiving folder structure.

I think it helps when you want to compare results across httpd versions.

covener and others added 17 commits April 26, 2026 15:47
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933351 13f79535-47bb-0310-9956-ffa450edef68
* include/httpd.h: Declare ap_memeq_timingsafe(),
  ap_streq_timingsafe(), ap_strneq_timingsafe().

* server/util.c: Implement, wrapping apr_*_timingsafe() if
  APR >= 1.8, with a fallback to copied-in versions.

* modules/aaa/mod_auth_digest.c: Replace apr_crypto_equals()
  with ap_memeq_timingsafe(). Remove apr_crypto.h include.

* modules/session/mod_session_crypto.c: Replace local
  ap_crypto_equals() with ap_memeq_timingsafe(). Remove
  the local implementation and macro alias.

Github: closes apache#638


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933389 13f79535-47bb-0310-9956-ffa450edef68
@ichristod ichristod force-pushed the enhance-pyhttpd-archive-option branch from 22639f8 to a905dff Compare April 28, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants