]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: create config under /run
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Nov 2022 06:51:30 +0000 (15:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Nov 2022 12:54:56 +0000 (21:54 +0900)
test/units/testsuite-75.sh

index 04a8b6e9cc8378a18d3da5f5e33aad0545482f57..53ceced641e6f9f2a63d4a80272a84c317a39405 100755 (executable)
@@ -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