Bug 3518 - Skip scp transfer over multiplexed connection if there's no scp on remote path as scp3 test did
Summary: Skip scp transfer over multiplexed connection if there's no scp on remote pat...
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 9.1p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_9_2
  Show dependency treegraph
 
Reported: 2023-01-06 03:15 AEDT by renmingshuai
Modified: 2023-03-17 13:42 AEDT (History)
1 user (show)

See Also:


Attachments
skip scp test (1.52 KB, text/plain)
2023-01-06 03:15 AEDT, renmingshuai
no flags Details
Add scp's path to sshd's PATH (786 bytes, patch)
2023-01-13 15:18 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description renmingshuai 2023-01-06 03:15:34 AEDT
Created attachment 3648 [details]
skip scp test

multiplex test always failed if there's no scp on remote path, so just skip scp transfer over multiplexed connection
Comment 1 Darren Tucker 2023-01-13 15:18:10 AEDT
Created attachment 3649 [details]
Add scp's path to sshd's PATH

I was thinking about this, but instead of skipping the test in that case we can arrange for scp's path to be in the under-test sshd server's PATH so we can still run the test.
Comment 2 Darren Tucker 2023-01-13 15:35:47 AEDT
Sigh.  Turns out that breaks the setenv test, so we'll make that a helper function and call it in the setup for any test that uses scp.
Comment 3 Darren Tucker 2023-01-13 15:56:35 AEDT
We've committed a variation on attachment #3649 [details] which should resolve the problem that you were experiencing.  If this is not the case, please reopen this bug.

Thanks for the report.
Comment 4 Damien Miller 2023-03-17 13:42:44 AEDT
OpenSSH 9.3 has been released. Close resolved bugs