From 2cd5954745d2dd51c03228baaef06decf8d08fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 29 May 2019 11:05:01 +0200 Subject: [PATCH] Make "plain" server setup checks more similar Send a test TCP query to the "plain" server during its setup check to improve its consistency with the setup check for the "plain + no TCP" server. (cherry picked from commit bb939a03ff2ebb14a0def772e4905988d4f5adf1) --- bin/tests/system/legacy/tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/tests/system/legacy/tests.sh b/bin/tests/system/legacy/tests.sh index 71347def5a..34d00d1021 100755 --- a/bin/tests/system/legacy/tests.sh +++ b/bin/tests/system/legacy/tests.sh @@ -93,6 +93,9 @@ ret=0 $DIG $DIGOPTS +edns @10.53.0.4 plain soa > dig.out.1.test$n || ret=1 grep "status: NOERROR" dig.out.1.test$n > /dev/null || ret=1 grep "EDNS: version:" dig.out.1.test$n > /dev/null && ret=1 +$DIG $DIGOPTS +edns +tcp @10.53.0.4 plain soa > dig.out.2.test$n +grep "status: NOERROR" dig.out.2.test$n > /dev/null || ret=1 +grep "EDNS: version:" dig.out.2.test$n > /dev/null && ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret`