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

shinrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 40961fbf69 Fix remap_inc test for systems with dash (#10885)
40961fbf69 is described below

commit 40961fbf69d33d9a19e8e0be706101efef4a3a7b
Author: Susan Hinrichs <shinri...@aviatrix.com>
AuthorDate: Wed Nov 29 19:47:42 2023 -0600

    Fix remap_inc test for systems with dash (#10885)
---
 tests/gold_tests/traffic_ctl/remap_inc/remap_inc.test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/gold_tests/traffic_ctl/remap_inc/remap_inc.test.py 
b/tests/gold_tests/traffic_ctl/remap_inc/remap_inc.test.py
index 11b6541711..747be4333d 100644
--- a/tests/gold_tests/traffic_ctl/remap_inc/remap_inc.test.py
+++ b/tests/gold_tests/traffic_ctl/remap_inc/remap_inc.test.py
@@ -74,8 +74,8 @@ tr.Processes.Default.ReturnCode = 0
 tr.StillRunningAfter = ts
 
 tr = Test.AddTestRun("Get response from generator")
-tr.Processes.Default.Command = (
-    f'test $$(curl --proxy 127.0.0.1:{ts.Variables.port} 
http://example.four/nocache/5 | wc -c) == 5'
-)
+tr.Processes.Default.Command = f'curl --proxy 127.0.0.1:{ts.Variables.port} 
http://example.four/nocache/5'
 tr.Processes.Default.ReturnCode = 0
 tr.StillRunningAfter = ts
+tr.Processes.Default.Streams.All = Testers.ContainsExpression("xxxxx", 
"Contains generated text")
+tr.Processes.Default.Streams.All += Testers.ExcludesExpression("xxxxxx", "Not 
too much data")

Reply via email to