From dad479804a5afd85eae9a64ba7f41bde29f49275 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 2 Mar 2020 17:25:00 +0100 Subject: [PATCH] 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. --- regression-tests.recursor/cache-recursorcache-forward/command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/' -- 2.47.2