From be18751d7d960e3dd7e792c3392132532c880d49 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 2 Dec 2024 20:35:47 +0100 Subject: [PATCH] Adjust tests Signed-off-by: DL6ER --- test/dnsmasq_warnings | 2 -- test/test_suite.bats | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/dnsmasq_warnings b/test/dnsmasq_warnings index 2e31b3d98..6b65860a1 100644 --- a/test/dnsmasq_warnings +++ b/test/dnsmasq_warnings @@ -93,8 +93,6 @@ src/dnsmasq/forward.c src/dnsmasq/forward.c my_syslog(LOG_WARNING, _("validation of %s failed: resource limit exceeded."), daemon->namebuff[0] ? daemon->namebuff : "."); -src/dnsmasq/forward.c - my_syslog(LOG_WARNING, _("reducing DNS packet size for nameserver %s to %d"), daemon->addrbuff, SAFE_PKTSZ); src/dnsmasq/forward.c my_syslog(LOG_WARNING, _("ignoring query from non-local network %s (logged only once)"), daemon->addrbuff); src/dnsmasq/forward.c diff --git a/test/test_suite.bats b/test/test_suite.bats index 0fe6c2fdd..c1794e61b 100644 --- a/test/test_suite.bats +++ b/test/test_suite.bats @@ -21,9 +21,9 @@ } @test "dnsmasq options as expected" { - run bash -c './pihole-FTL -vv | grep "cryptohash"' + run bash -c './pihole-FTL -vv | grep "dumpfile"' printf "%s\n" "${lines[@]}" - [[ ${lines[0]} == "Features: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN2 DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile" ]] + [[ ${lines[0]} == "Features: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN2 DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth DNSSEC loop-detect inotify dumpfile" ]] [[ ${lines[1]} == "" ]] }