Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix uri_signing unit test for out of source builds #8040

Merged

Conversation

bneradt
Copy link
Contributor

@bneradt bneradt commented Jul 3, 2021

The URI signing plugin unit test accesses a config file in the source
directory. This works fine for in-source builds, but did not for out of
source. This updates the Makefile and unit test so that the file is
accessible for out of source builds.

The URI signing plugin unit test accesses a config file in the source
directory. This works fine for in-source builds, but did not for out of
source. This updates the Makefile and unit test so that the file is
accessible for out of source builds.
@bneradt bneradt added the Build work related to build configuration or environment label Jul 3, 2021
@bneradt bneradt added this to the 10.0.0 milestone Jul 3, 2021
@bneradt bneradt self-assigned this Jul 3, 2021
@bneradt bneradt requested a review from bryancall as a code owner July 3, 2021 22:52
@bneradt
Copy link
Contributor Author

bneradt commented Jul 3, 2021

This is a build fix for a unit test and is therefore safe for all branches. And since this fixes out of source builds, we should port this to all our supported branches for users who want or require out of source builds.

@bneradt bneradt merged commit 8fb685b into apache:master Jul 6, 2021
zwoop pushed a commit that referenced this pull request Jul 13, 2021
The URI signing plugin unit test accesses a config file in the source
directory. This works fine for in-source builds, but did not for out of
source. This updates the Makefile and unit test so that the file is
accessible for out of source builds.

(cherry picked from commit 8fb685b)
zwoop pushed a commit that referenced this pull request Jul 13, 2021
The URI signing plugin unit test accesses a config file in the source
directory. This works fine for in-source builds, but did not for out of
source. This updates the Makefile and unit test so that the file is
accessible for out of source builds.

(cherry picked from commit 8fb685b)
@zwoop
Copy link
Contributor

zwoop commented Jul 13, 2021

Cherry-picked to v9.0.x branch.
Cherry-picked to v9.1.x branch.

@zwoop zwoop modified the milestones: 10.0.0, 9.0.3 Jul 13, 2021
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 7, 2022
* asf/master: (763 commits)
  rate_limit: Add a global hook to rate limit concurrent connections based on SNI (apache#8021)
  Fix uri_signing unit test for out of source builds (apache#8040)
  tests: Add conditions for BoringSSL and OpenSSL (apache#8045)
  change debug tags and make sure sni is printed on certain logs (apache#7673)
  Doc build in CI: build English docs with -W (apache#8039)
  When loading async SSL configuration file fails, log SSL error (apache#8036)
  Doc build: treat warnings as errors only by default (apache#8038)
  For test async_engine, export all symbols (apache#8037)
  Fix the server cert reload (apache#8030)
  Treat Sphinx doc build warnings as errors. (apache#8033)
  Stablize trace curl test in good_request_after_bad (apache#8032)
  Doc: Update documentation to build cleanly in Sphinx 3. Require Sphinx 3 or better. (apache#7978)
  Docs: Fix pre-formatting for ratelimit plugin (apache#7986)
  Make it slightly harder to dump private keys to logs (apache#8029)
  tls_bad_alpn: Add an openssl version skip check (apache#8026)
  per thread jemalloc arena for MADV_DONTDUMP (apache#7501)
  Adds a new rm-destination, this lets you specify either QUERY or PATH, and be able to drop them from the incoming request (apache#8025)
  Fix HPACK eviction iterator manipulation (apache#8004)
  Do not invalidate cached resources upon error responses to unsafe methods (apache#7999)
  Cleanup SSLUtils (apache#8007)
  ...
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Jul 26, 2022
The URI signing plugin unit test accesses a config file in the source
directory. This works fine for in-source builds, but did not for out of
source. This updates the Makefile and unit test so that the file is
accessible for out of source builds.

(cherry picked from commit 8fb685b)
(cherry picked from commit 8899b9f)
@bneradt bneradt deleted the fix_uri_signing_unit_test_out_of_source branch March 29, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build work related to build configuration or environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants