From: Remi Gacogne Date: Mon, 2 Mar 2020 16:25:00 +0000 (+0100) Subject: rec: Ignore off-by-one TTL in the cache-recursorcache-forward test X-Git-Tag: dnsdist-1.5.0-alpha1~34^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8886%2Fhead;p=thirdparty%2Fpdns.git rec: Ignore off-by-one TTL in the cache-recursorcache-forward test Sometimes just a bit more than 3s went by, and that's fine. --- diff --git a/regression-tests.recursor/cache-recursorcache-forward/command b/regression-tests.recursor/cache-recursorcache-forward/command index 62b635eff1..59bf9ae79b 100755 --- a/regression-tests.recursor/cache-recursorcache-forward/command +++ b/regression-tests.recursor/cache-recursorcache-forward/command @@ -1,4 +1,4 @@ #!/bin/bash $SDIG $nameserver 5302 www.arthur.example.net a recurse sleep 3 -$SDIG $nameserver 5302 www.arthur.example.net a recurse +$SDIG $nameserver 5302 www.arthur.example.net a recurse | sed 's/\(.*\tIN\tA\t\)\(11\)/\112/'