scripts: pass absolute key paths in interop test - #1295
Merged
Merged
Conversation
The example client chdirs up to the tree root before it opens the -i and -j files, so the relative srcdir key path from an out-of-tree build no longer resolved and make distcheck failed openssh-interop.test. Resolve the keys directory to an absolute path up front.
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused change correctly handles out-of-tree builds without introducing unresolved issues.
Review effort: Balanced
Findings: None
What changed in this PR
Resolves out-of-tree OpenSSH interoperability test failures by preserving key paths across the example client’s directory change.
Changes:
- Resolves the source key directory to an absolute path.
- Exits early when the key directory cannot be resolved.
| File | Description |
|---|---|
scripts/openssh-interop.test |
Makes interoperability test key paths independent of the working directory. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
philljj
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
make distcheck failed openssh-interop.test: the example client chdirs up to the tree root before opening its -i and -j files, so the relative srcdir key path no longer resolved in an out-of-tree build.