Repository navigation
Conversation
|
Thanks for the PR, and for tracking down this failure! I looked into where the message comes from, and it isn't OpenSSH. The The code change itself looks good to me. Could you update the comment and the commit message to name the actual cause? For example: # argparse reworded this message in Python 3.16 (gh-157127)and a commit message something like: Once that's updated, I'm happy to merge it. Thanks again! |
Python 3.16 rewords the argparse error for a missing required mutually exclusive argument, so accept both the old and new messages in the SCP missing direction test. Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
done |
|
Thanks for the update! This has been merged into develop as commit 44a9e2c. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #851 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 104 105 +1
Lines 35533 35818 +285
Branches 3407 3423 +16
==========================================
+ Hits 35533 35818 +285 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Accept both OpenSSH scp missing-direction error messages
The exact stderr message varies between OpenSSH versions, so match against both known variants instead of a single exact string.
Fixes the test against OpenSSH 10.6