Skip to content

Commit

Permalink
- Fix verify_again test to use ipv4 address for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Nov 1, 2022
1 parent cf1ad7a commit 1744118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tpkg/verify_again.tdir/verifier.script
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1744118

Please sign in to comment.