From 5a07bb2c55adfcde88a7bf6cf99a1e9d79163232 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 16 Feb 2025 22:35:19 +0900 Subject: [PATCH] TEST-75-RESOLVED: revert changes done in each test case --- test/units/TEST-75-RESOLVED.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/units/TEST-75-RESOLVED.sh b/test/units/TEST-75-RESOLVED.sh index 3ba908981f0..8afd5a64764 100755 --- a/test/units/TEST-75-RESOLVED.sh +++ b/test/units/TEST-75-RESOLVED.sh @@ -942,6 +942,7 @@ testcase_12_resolvectl2() { cleanup() { rm -f /run/systemd/resolved.conf.d/reload.conf systemctl reload systemd-resolved.service + resolvectl revert dns0 } trap cleanup RETURN @@ -1023,6 +1024,7 @@ testcase_13_varlink_subscribe_dns_configuration() { echo "==========" rm -f /run/systemd/resolved.conf.d/global-dns.conf restart_resolved + resolvectl revert dns0 } trap cleanup RETURN ERR -- 2.47.3