diff options
Diffstat (limited to 'contrib/unbound/testdata/stub_udp_with_tcp_upstream.tdir/stub_udp_with_tcp_upstream.test')
-rw-r--r-- | contrib/unbound/testdata/stub_udp_with_tcp_upstream.tdir/stub_udp_with_tcp_upstream.test | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/contrib/unbound/testdata/stub_udp_with_tcp_upstream.tdir/stub_udp_with_tcp_upstream.test b/contrib/unbound/testdata/stub_udp_with_tcp_upstream.tdir/stub_udp_with_tcp_upstream.test deleted file mode 100644 index 43591ac16c0f..000000000000 --- a/contrib/unbound/testdata/stub_udp_with_tcp_upstream.tdir/stub_udp_with_tcp_upstream.test +++ /dev/null @@ -1,37 +0,0 @@ -# #-- stub_udp_with_tcp_upstream.test --# -# source the master var file when it's there -[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master -# use .tpkg.var.test for in test variable passing -[ -f .tpkg.var.test ] && source .tpkg.var.test - -PRE="../.." -# do the test -echo "> dig tcp.example.com." -dig @127.0.0.1 -p $UNBOUND_PORT tcp.example.com. | tee outfile -echo "> cat logfiles" -cat fwd.log -cat unbound.log -echo "> check answer" -if grep "10.20.30.40" outfile; then - echo "OK" -else - echo "Not OK" - exit 1 -fi - - -# check if second stub is requested via udp -echo "> dig udp.example.com." -dig @127.0.0.1 -p $UNBOUND_PORT udp.example.com. | tee outfile -echo "> cat logfiles" -cat fwd.log -cat unbound.log -echo "> check answer" -if grep "10.20.30.80" outfile; then - echo "OK" -else - echo "Not OK" - exit 1 -fi - -exit 0 |