You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/11/08 18:34:27 UTC

[trafficserver] branch 9.1.x updated: For verify_global_plugin test, check for platform independent error message (#8442)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.1.x by this push:
     new 6351d38  For verify_global_plugin test, check for platform independent error message (#8442)
6351d38 is described below

commit 6351d38ced8b1252fb5cd7b64db100ef2d5d39bc
Author: Randall Meyer <rr...@apache.org>
AuthorDate: Wed Oct 20 12:05:53 2021 -0700

    For verify_global_plugin test, check for platform independent error message (#8442)
    
    This allows the test to work on something other than Linux
    
    (cherry picked from commit 0746ec2c307eb8de201b7112992c529da45303b8)
---
 tests/gold_tests/command_argument/verify_global_plugin.test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/gold_tests/command_argument/verify_global_plugin.test.py b/tests/gold_tests/command_argument/verify_global_plugin.test.py
index 5566891..bec4f85 100644
--- a/tests/gold_tests/command_argument/verify_global_plugin.test.py
+++ b/tests/gold_tests/command_argument/verify_global_plugin.test.py
@@ -166,8 +166,8 @@ tr.Processes.Default.Command = \
 tr.Processes.Default.ReturnCode = 1
 tr.Processes.Default.StartBefore(ts)
 tr.Processes.Default.Streams.stderr = Testers.ContainsExpression(
-    "ERROR: .*: undefined symbol: .*foo.*",
-    "Should warn about the need for the TSPluginInit symbol")
+    "ERROR:.*unable to load",
+    "Should log failure to load shared object")
 ts.Disk.diags_log.Content = Testers.ContainsExpression(
     "ERROR",
-    "ERROR: .*: undefined symbol: .*foo.*")
+    "Should log failure to load shared object")