]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: attempt to install sshd-session from multiple places
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 1 Aug 2024 11:14:52 +0000 (13:14 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 1 Aug 2024 13:02:34 +0000 (15:02 +0200)
On Fedora the sshd-session binary is under /usr/libexec/openssh/ so
cover this path as well in the old framework.

Follow-up for aaa7b36bd15ca3a96a1e11a557482b0bc59c769f.

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

index 06034b7d177f6fc784fd01262399c6e6403789e6..973b030e6505ddbc4e01811e8b7ce24bd42a0b43 100755 (executable)
@@ -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 "$@"
index d47a0a20f29a37a7321750b9f3ff9feb1a672aad..d9ae70c68ccbc5d1f2ba83232861b2e73f21a6d2 100755 (executable)
@@ -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