From 174411894745e3b43f3f4d8e9aa00ce1a77c7467 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 1 Nov 2022 18:01:16 +0100 Subject: [PATCH] - Fix verify_again test to use ipv4 address for test. --- doc/ChangeLog | 1 + tpkg/verify_again.tdir/verifier.script | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 85b9b0f74..fac449dbb 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -5,6 +5,7 @@ - Fix credns tests for vm usage, and not use system default zone list file. - Fix verify tests to use more portable bash location in script. + - Fix verify_again test to use ipv4 address for test. 1 November 2022: Tom - Add SVCB dohpath support diff --git a/tpkg/verify_again.tdir/verifier.script b/tpkg/verify_again.tdir/verifier.script index 301510d9e..4aa6ca0c7 100755 --- a/tpkg/verify_again.tdir/verifier.script +++ b/tpkg/verify_again.tdir/verifier.script @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash if [ "${VERIFY_ZONE}" = "example.com." ]; then # verification must fail for serial 2 - serial=$(dig @${VERIFY_IP_ADDRESS} -p ${VERIFY_PORT} SOA example.com | \ + serial=$(dig @${VERIFY_IPV4_ADDRESS} -p ${VERIFY_PORT} SOA example.com | \ sed -n -e 's/[[:space:]]\{1,\}/ /g' -e '/^[^;[:space:]]/p' | \ cut -d ' ' -f 7) if [ "${serial}" = "2" ]; then