Commit 05eda0d4 authored by Mark Andrews's avatar Mark Andrews

test date vs relative for ttl in timeout directive

parent e548267e
Pipeline #22885 passed with stages
in 25 minutes and 14 seconds
......@@ -1102,11 +1102,12 @@ grep "ANSWER: 0," dig.out.timeout-after.ns1.test$n > /dev/null 2>&1 || ret=1
n=`expr $n + 1`
ret=0
echo_i "check that TIMEOUT type 1 is processed signed ($n)"
when=$(env TZ=UTC $PERL -e '@l=localtime(time()+5); printf("%04u%02u%02u%02u%02u%02u\n",$l[5]+1900,$l[4]+1,$l[3],$l[2],$l[1],$l[0]);')
$NSUPDATE -d <<END > nsupdate.out-$n 2>&1 || ret=1
server 10.53.0.3 ${PORT}
update add to-be-deleted-by-timeout.timeout-signed.test 0 IN TXT here.
update add to-be-deleted-by-timeout.timeout-signed.test 0 IN TXT there.
update timeout to-be-deleted-by-timeout.timeout-signed.test 5 IN TXT here.
update timeout to-be-deleted-by-timeout.timeout-signed.test $when IN TXT here.
show
send
END
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment