From: Remi Gacogne Date: Tue, 11 Aug 2020 13:31:57 +0000 (+0200) Subject: rec: Fix invalid unknown record in the unit tests X-Git-Tag: auth-4.4.0-alpha1~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda934facbac96a0aad5a82f84113009ddf3ec92;p=thirdparty%2Fpdns.git rec: Fix invalid unknown record in the unit tests --- diff --git a/pdns/recursordist/test-syncres_cc3.cc b/pdns/recursordist/test-syncres_cc3.cc index abf4680ac2..fdf65f79bd 100644 --- a/pdns/recursordist/test-syncres_cc3.cc +++ b/pdns/recursordist/test-syncres_cc3.cc @@ -157,7 +157,7 @@ BOOST_AUTO_TEST_CASE(test_skip_opt_any) sr->setAsyncCallback([target](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional& srcmask, boost::optional context, LWResult* res, bool* chained) { setLWResult(res, 0, true, false, true); addRecordToLW(res, domain, QType::A, "192.0.2.42"); - addRecordToLW(res, domain, QType::ANY, "0 0"); + addRecordToLW(res, domain, QType::ANY, "\\# 0"); addRecordToLW(res, domain, QType::OPT, ""); return 1; });