diff --git a/tests/gold_tests/pluginTest/s3_auth/gold/s3_auth_parsing.gold b/tests/gold_tests/pluginTest/s3_auth/gold/s3_auth_parsing.gold deleted file mode 100644 index 2303e2859a8..00000000000 --- a/tests/gold_tests/pluginTest/s3_auth/gold/s3_auth_parsing.gold +++ /dev/null @@ -1,17 +0,0 @@ -* Trying 127.0.0.1:``... -* Connected to 127.0.0.1 (127.0.0.1) port `` (#0) -> GET /s3-bucket HTTP/1.1 -> Host: www.example.com -> User-Agent: curl/`` -> Accept: */* -> -* Mark bundle as not supporting multiuse -< HTTP/1.1 200 OK -< Content-Length: 8 -< Date: `` -< Age: `` -< Connection: keep-alive -< Server: `` -< -{ [8 bytes data] -* Connection #0 to host 127.0.0.1 left intact diff --git a/tests/gold_tests/pluginTest/s3_auth/s3_auth_config.test.py b/tests/gold_tests/pluginTest/s3_auth/s3_auth_config.test.py index 5523ff63ad6..ffcdc3bc341 100644 --- a/tests/gold_tests/pluginTest/s3_auth/s3_auth_config.test.py +++ b/tests/gold_tests/pluginTest/s3_auth/s3_auth_config.test.py @@ -59,7 +59,8 @@ tr.Processes.Default.ReturnCode = 0 tr.Processes.Default.StartBefore(server) tr.Processes.Default.StartBefore(ts) -tr.Processes.Default.Streams.stderr = "gold/s3_auth_parsing.gold" +tr.Processes.Default.Streams.stderr.Content = Testers.ContainsExpression("200 OK", "expected 200 response") +tr.Processes.Default.Streams.stderr.Content += Testers.ContainsExpression("Content-Length: 8", "expected content-length 8") tr.StillRunningAfter = server ts.Disk.traffic_out.Content = "gold/s3_auth_parsing_ts.gold"