test: install split-out sshd-session binary if present
authorLuca Boccassi <bluca@debian.org>
Tue, 9 Jul 2024 17:42:06 +0000 (18:42 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 11 Jul 2024 11:48:52 +0000 (13:48 +0200)
Archlinux split out one ssh binary, install it in the legacy test
setup if present for the tests that need ssh

(cherry picked from commit aaa7b36bd15ca3a96a1e11a557482b0bc59c769f)

test/TEST-46-HOMED/test.sh
test/TEST-74-AUX-UTILS/test.sh

index 923e00229e6982e2e91aa17f65c2b9ba887f106e..06034b7d177f6fc784fd01262399c6e6403789e6 100755 (executable)
@@ -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 "$@"
index 2ee4a7533abff7a512fcec4845619f54f397f28f..d47a0a20f29a37a7321750b9f3ff9feb1a672aad 100755 (executable)
@@ -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