From: Yu Watanabe Date: Thu, 15 Feb 2024 03:11:06 +0000 (+0900) Subject: test: fix cleanup function X-Git-Tag: v256-rc1~850 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7774a7ca792b91fcfb5997e65bb89e1c5699be38;p=thirdparty%2Fsystemd.git test: fix cleanup function Follow-up for 8349bbdfd829c80fc5eabaca6c9d0afed28d1b3f. --- diff --git a/test/units/testsuite-46.sh b/test/units/testsuite-46.sh index 26e71afecd7..ec0f24b2381 100755 --- a/test/units/testsuite-46.sh +++ b/test/units/testsuite-46.sh @@ -322,7 +322,7 @@ if command -v ssh &> /dev/null && command -v sshd &> /dev/null && ! [[ -v ASAN_O rm -f /tmp/homed.id_rsa /run/systemd/system/mysshserver.socket /run/systemd/system/mysshserver@.service systemctl daemon-reload homectl remove homedsshtest ||: - mv /etc/pam.d/sshd.save46 mv /etc/pam.d/sshd + mv /etc/pam.d/sshd.save46 /etc/pam.d/sshd } trap at_exit EXIT