]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/runtime/scp: requires openssh-sftp-server
authorJose Quaresma <quaresma.jose@gmail.com>
Wed, 17 Jul 2024 12:34:22 +0000 (13:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jul 2024 10:54:08 +0000 (11:54 +0100)
commit2f43da91ba20d18bc419bca7651bb383a51f20af
treeb2a584a1085a1ecbcb74a4ef399710d9fe5264d2
parentd05fa366ebbf8017f5f5fae0b1bc8502ada3ab79
oeqa/runtime/scp: requires openssh-sftp-server

The SCP protocol was deprecated in favor of the SFTP.
For the legacy SCP protocol scp should be run with "-O".
Instead of adding "-O" on the scp_options ssh oeqa we can
require the openssh-sftp-server to be instaled on the target.

This way the test will work more deterministic regardless of
the host machine client used.
For the old fashion clients still using legacy SCP protocol
the openssh-sshd server will be used, for the new ones using
the SFTP the openssh-sftp-server will be picked.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oeqa/runtime/cases/scp.py