diff options
author | Mattias Päivärinta <mattias.paivarinta@iis.se> | 2017-09-27 15:32:20 +0200 |
---|---|---|
committer | Mattias Päivärinta <mattias.paivarinta@iis.se> | 2017-09-27 15:54:09 +0200 |
commit | f04f03261e8ffd1d08bd91daf8b3349fb92bdc4e (patch) | |
tree | bbb21b7db6dc8c209aef5846c17d4c888d70e86a /t | |
parent | d06cd675ad39711e2332a099e0cdbca59e7e081c (diff) |
Loosen test suite's assumptions about the Internet
Diffstat (limited to 't')
-rw-r--r-- | t/netldns.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/netldns.t b/t/netldns.t index 7e77a6d..18930b6 100644 --- a/t/netldns.t +++ b/t/netldns.t @@ -80,7 +80,8 @@ SKIP: { is( scalar( $se->answer ), 0, 'zero answers' ); is( scalar( $se->authority ), 10, 'nine authority' ); my $add = scalar( $se->additional ); - ok( $add == 16 || $add == 15, 'sixteen additional' ); + cmp_ok( $add, '<=', 20, 'at most 20 additional' ); + cmp_ok( $add, '>=', 8, 'at least 8 additional' ); my $rr = Net::LDNS::RR->new_from_string( 'se. 172800 IN SOA catcher-in-the-rye.nic.se. registry-default.nic.se. 2013111305 1800 1800 864000 7200' ); |