Skip to content

Commit 643ffe0

Browse files
author
bneradt
committed
AuTest extension: check for unrecognized configurations
This adds a trafficserver AuTest extension check to verify that the tester did not accidentally add an unrecognized configuration option.
1 parent 8c98d99 commit 643ffe0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/gold_tests/autest-site/trafficserver.test.ext

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ def MakeATSProcess(obj, name, command='traffic_server', select_ports=True,
187187
"ERROR:", "diags.log should not contain errors")
188188
p.Disk.diags_log.Content += Testers.ExcludesExpression(
189189
"FATAL:", "diags.log should not contain errors")
190+
p.Disk.diags_log.Content += Testers.ExcludesExpression(
191+
"Unrecognized configuration value",
192+
"diags.log should not contain a warning about an unrecognized configuration")
190193

191194
if command == "traffic_manager":
192195
fname = "manager.log"

0 commit comments

Comments
 (0)