Commit b3215125 authored by Mark Andrews's avatar Mark Andrews
Browse files

Fix the dnstap roll test by:

* fixing the find call.
* checking that we rolled a file.
parent 01176a8e
......@@ -763,8 +763,8 @@ test_dnstap_roll() (
$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