]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Handle dig timing out gracefully in sortlist
authorTom Krizek <tkrizek@isc.org>
Fri, 5 Jan 2024 14:13:34 +0000 (15:13 +0100)
committerTom Krizek <tkrizek@isc.org>
Tue, 9 Jan 2024 12:43:26 +0000 (13:43 +0100)
(cherry picked from commit 2341934f7d84b3df42141345a3c393f3d2041470)

bin/tests/system/sortlist/tests.sh

index 11b1cc9578b7f3846e5fb78f628b01f9459c13e6..555a66515bc0eb610905bcbe81a9e2d073c39090 100644 (file)
@@ -28,7 +28,7 @@ a.example.            300     IN      A       1.1.1.3
 a.example.             300     IN      A       1.1.1.2
 a.example.             300     IN      A       1.1.1.4
 EOF
-$DIG $DIGOPTS a.example. @10.53.0.1 -b 10.53.0.1 >test1.dig
+$DIG $DIGOPTS a.example. @10.53.0.1 -b 10.53.0.1 >test1.dig || status=1
 # Note that this can't use digcomp.pl because here, the ordering of the
 # result RRs is significant.
 $DIFF test1.dig test1.good || status=1