Commit 37213cb9 authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch 'marka-fixup-dnstap-test' into 'main'

Fix the dnstap roll test

See merge request isc-projects/bind9!3756
parents 01176a8e b3215125
......@@ -763,8 +763,8 @@ test_dnstap_roll() (
ns="$2"
n="$3"
$RNDCCMD -s "${ip}" dnstap -roll "${n}" | sed "s/^/${ns} /" | cat_i &&
files=$(find . -name "${ns}/dnstap.out.*" | wc -l) &&
test "$files" -le "${n}"
files=$(find "$ns" -name "dnstap.out.[0-9]" | wc -l) &&
test "$files" -le "${n}" && test "$files" -ge "1"
)
echo_i "checking 'rndc -roll <value>' (no versions)"
......
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