test: install split-out sshd-session binary if present

Archlinux split out one ssh binary, install it in the legacy test
setup if present for the tests that need ssh
This commit is contained in:
Luca Boccassi 2024-07-09 18:42:06 +01:00 committed by Luca Boccassi
parent bbb0b72849
commit aaa7b36bd1
2 changed files with 2 additions and 0 deletions

View file

@ -24,6 +24,7 @@ test_append_files() {
inst_binary ssh
inst_binary sshd
inst_binary ssh-keygen
image_install -o /usr/lib/ssh/sshd-session
}
do_test "$@"

View file

@ -31,6 +31,7 @@ test_append_files() {
inst_binary ssh
inst_binary sshd
inst_binary ssh-keygen
image_install -o /usr/lib/ssh/sshd-session
inst_binary usermod
instmods vmw_vsock_virtio_transport
instmods vsock_loopback