Commit 3b1aec02 authored by Jan Včelák's avatar Jan Včelák 🚀

tests-extra: fix awk invocation on FreeBSD

parent b1e44a88
......@@ -40,9 +40,9 @@ fi
tmp=$(mktemp)
awk -f "$script" "$zonefile" > "$tmp"
gawk -f "$script" "$zonefile" > "$tmp"
update_result=$(diff -wu "$zonefile" "$tmp" | awk '
update_result=$(diff -wu "$zonefile" "$tmp" | gawk '
BEGIN { add = 0; remove = 0 }
NR <= 2 { next } # diff header
$1 ~ /^+/ { add += 1 }
......
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