]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* test/pytest_suite/tests/t/ab/test_base.py (_ab_path): Don't
authorJoe Orton <jorton@apache.org>
Tue, 4 Aug 2026 14:58:59 +0000 (14:58 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 4 Aug 2026 14:58:59 +0000 (14:58 +0000)
  resolve() the httpd path before deriving ab's; it follows the
  check/bin/httpd symlink out of the check/ tree, so ab was never
  found there.

Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
GitHub: PR #701

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936872 13f79535-47bb-0310-9956-ffa450edef68

test/pytest_suite/tests/t/ab/test_base.py

index e672e804b06b124d9b9d4583d2445462c1e9a882..1d7e2e2ee7e62d3e113f2cd3184a010a99ec3526 100644 (file)
@@ -18,7 +18,7 @@ import pytest
 
 
 def _ab_path(http) -> Path:
-    return Path(http.config.info.httpd).resolve().parent / "ab"
+    return Path(http.config.info.httpd).parent / "ab"
 
 
 def _run_ab(ab: Path, url: str) -> subprocess.CompletedProcess: