Bug 3518

Summary: Skip scp transfer over multiplexed connection if there's no scp on remote path as scp3 test did
Product: Portable OpenSSH Reporter: renmingshuai <rmsh1216>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: dtucker
Priority: P5    
Version: 9.1p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 3480    
Attachments:
Description Flags
skip scp test
none
Add scp's path to sshd's PATH none

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