test: attempt to install sshd-session from multiple places

On Fedora the sshd-session binary is under /usr/libexec/openssh/ so
cover this path as well in the old framework.

Follow-up for aaa7b36bd1.
This commit is contained in:
Frantisek Sumsal 2024-08-01 13:14:52 +02:00 committed by Luca Boccassi
parent 89322b8c09
commit ce2344bbee
2 changed files with 2 additions and 2 deletions

View File

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

View File

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