]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Run the proxy protocol unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 20 Feb 2020 11:13:55 +0000 (12:13 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Mar 2020 13:12:55 +0000 (14:12 +0100)
pdns/dnsdistdist/Makefile.am
pdns/dnsdistdist/test-proxy_protocol_cc.cc [new symlink]

index 4a48a7af22a969063385bfec72f2b6d1b202f3eb..e6bd28464e065f4b185c30391c982cabfa16e0f1 100644 (file)
@@ -217,6 +217,7 @@ testrunner_SOURCES = \
        test-dnsparser_cc.cc \
        test-iputils_hh.cc \
        test-mplexer.cc \
+       test-proxy_protocol_cc.cc \
        cachecleaner.hh \
        circular_buffer.hh \
        dnsdist.hh \
@@ -245,6 +246,7 @@ testrunner_SOURCES = \
        namespaces.hh \
        pdnsexception.hh \
        pollmplexer.cc \
+       proxy-protocol.cc proxy-protocol.hh \
        qtype.cc qtype.hh \
        sholder.hh \
        sodcrypto.cc \
diff --git a/pdns/dnsdistdist/test-proxy_protocol_cc.cc b/pdns/dnsdistdist/test-proxy_protocol_cc.cc
new file mode 120000 (symlink)
index 0000000..6350ca4
--- /dev/null
@@ -0,0 +1 @@
+../test-proxy_protocol_cc.cc
\ No newline at end of file