diff options
author | Franck Bui <fbui@suse.com> | 2024-07-02 18:55:17 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2024-07-02 19:07:03 +0200 |
commit | 252542ffc3fda9b110d108a1bce1a1d562baebd4 (patch) | |
tree | f5d4dafd1b4647017e90531b2a74c12e43a9f122 /test | |
parent | test: preserve symlink in inst_recursive() (diff) | |
download | systemd-252542ffc3fda9b110d108a1bce1a1d562baebd4.tar.xz systemd-252542ffc3fda9b110d108a1bce1a1d562baebd4.zip |
test: fix TEST-74-AUX-UTILS.ssh.sh on SUSE
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/TEST-74-AUX-UTILS.ssh.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/units/TEST-74-AUX-UTILS.ssh.sh b/test/units/TEST-74-AUX-UTILS.ssh.sh index 5d87d9f7ac..79055a1841 100755 --- a/test/units/TEST-74-AUX-UTILS.ssh.sh +++ b/test/units/TEST-74-AUX-UTILS.ssh.sh @@ -46,7 +46,10 @@ test -f /etc/ssh/ssh_host_rsa_key || ssh-keygen -t rsa -C '' -N '' -f /etc/ssh/s echo "PermitRootLogin yes" >> /etc/ssh/sshd_config echo "LogLevel DEBUG3" >> /etc/ssh/sshd_config -test -f /etc/ssh/ssh_config || echo 'Include /etc/ssh/ssh_config.d/*.conf' > /etc/ssh/ssh_config +test -f /etc/ssh/ssh_config || { + echo 'Include /etc/ssh/ssh_config.d/*.conf' + echo 'Include /usr/etc/ssh/ssh_config.d/*.conf' +} >/etc/ssh/ssh_config # ssh wants this dir around, but distros cannot agree on a common name for it, let's just create all that are aware of distros use mkdir -p /usr/share/empty.sshd /var/empty /var/empty/sshd /run/sshd |