mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '2966-logfileconfig-system-test-is-timing-sensitive' into 'main'
Resolve "logfileconfig system test is timing sensitive" Closes #2966 See merge request isc-projects/bind9!5516
This commit is contained in:
commit
af17112319
1 changed files with 2 additions and 2 deletions
|
|
@ -196,11 +196,11 @@ _found2() (
|
|||
|
||||
# we are configured to keep three versions, so the oldest
|
||||
# timestamped versions should be gone, and there should
|
||||
# be two new ones.
|
||||
# be two or three backup ones.
|
||||
[ -f ns1/named_ts.1480039317 ] && return 1
|
||||
[ -f ns1/named_ts.20150101120000120 ] && return 1
|
||||
set -- ns1/named_ts.*
|
||||
[ "$#" -eq 2 ] || return 1
|
||||
[ "$#" -eq 2 -o "$#" -eq 3 ] || return 1
|
||||
)
|
||||
retry_quiet 5 _found2 || ret=1
|
||||
if [ "$ret" -ne 0 ]; then echo_i "failed"; fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue