jpeach commented on PR #9770:
URL: https://github.com/apache/trafficserver/pull/9770#issuecomment-1575897129

   Wait, the copy isn't the error, I guess it's a return code check from this 
somewhere?
   
   ```
   tr = Test.AddTestRun()
   tr.Processes.Default.StartBefore(server)
   tr.Processes.Default.StartBefore(ts)
   tr.Processes.Default.Command = (
       'curl --verbose --ipv4 --header "Host:myhost.test" http://localhost:{}/ 
2>curl.txt'.format(ts.Variables.port)
   )
   tr.Processes.Default.ReturnCode = 0
   
   tr = Test.AddTestRun()
   tr.Processes.Default.Command = (
       'curl --verbose --ipv4 --header "Host:myhost.test" http://localhost:{}/ 
2>curl.txt'.format(ts.Variables.port)
   )
   tr.Processes.Default.ReturnCode = 0
   
   tr = Test.AddTestRun()
   tr.Processes.Default.Command = "grep -F HTTP/ curl.txt"
   tr.Processes.Default.Streams.stdout = "curl.gold"
   tr.Processes.Default.ReturnCode = 0
   ```
   
   But it's not clear which one fails or why. Exit code 9 from curl is " FTP 
access denied", so maybe it's the grep that fails? If there's an expected 
output file, I wonder why the test runs grep manually?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to