From: Yu Watanabe Date: Thu, 10 Nov 2022 06:51:30 +0000 (+0900) Subject: test: create config under /run X-Git-Tag: v253-rc1~553^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4b3f0dfe91ae0b95f30594c7671be39c0a599b1;p=thirdparty%2Fsystemd.git test: create config under /run --- diff --git a/test/units/testsuite-75.sh b/test/units/testsuite-75.sh index 04a8b6e9cc8..53ceced641e 100755 --- a/test/units/testsuite-75.sh +++ b/test/units/testsuite-75.sh @@ -79,11 +79,13 @@ DNSSEC=allow-downgrade DNS=10.0.0.1 EOF +mkdir -p /run/systemd/resolved.conf.d { + echo "[Resolve]" echo "FallbackDNS=" echo "DNSSEC=allow-downgrade" echo "DNSOverTLS=opportunistic" -} >>/etc/systemd/resolved.conf +} >/run/systemd/resolved.conf.d/test.conf ln -svf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf # Override the default NTA list, which turns off DNSSEC validation for (among # others) the test. domain