mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'marka-fixup-dnstap-test' into 'main'
Fix the dnstap roll test See merge request isc-projects/bind9!3756
This commit is contained in:
commit
37213cb994
1 changed files with 2 additions and 2 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue