mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 13:18:52 +00:00
tests: quiet noisy error log about asan files
Turn a noisy error log into a debug - it's just reporting that we're _looking_ for asan output. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
6ee4440e66
commit
c46de798de
@ -990,7 +990,7 @@ def checkAddressSanitizerError(output, router, component, logdir=""):
|
|||||||
# No Address Sanitizer Error in Output. Now check for AddressSanitizer daemon file
|
# No Address Sanitizer Error in Output. Now check for AddressSanitizer daemon file
|
||||||
if logdir:
|
if logdir:
|
||||||
filepattern=logdir+"/"+router+"/"+component+".asan.*"
|
filepattern=logdir+"/"+router+"/"+component+".asan.*"
|
||||||
sys.stderr.write("Log check for %s on %s, pattern %s\n" % (component, router, filepattern))
|
logger.debug("Log check for %s on %s, pattern %s\n" % (component, router, filepattern))
|
||||||
for file in glob.glob(filepattern):
|
for file in glob.glob(filepattern):
|
||||||
with open(file, "r") as asanErrorFile:
|
with open(file, "r") as asanErrorFile:
|
||||||
asanError=asanErrorFile.read()
|
asanError=asanErrorFile.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user