From 55d9a8c864489197269c0b93e088626a891f1363 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Sun, 20 Jul 2014 19:18:33 +0000 Subject: A HTTP connection may have multiple requests with content. Allow to specify an array of md5 hashes in the test arguments and check all of them in the client and server log files. So test that relayd does not modify the http body. --- regress/usr.sbin/relayd/args-https-persistent.pl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'regress/usr.sbin/relayd/args-https-persistent.pl') diff --git a/regress/usr.sbin/relayd/args-https-persistent.pl b/regress/usr.sbin/relayd/args-https-persistent.pl index f6ba0f54dcb..30e690dae96 100644 --- a/regress/usr.sbin/relayd/args-https-persistent.pl +++ b/regress/usr.sbin/relayd/args-https-persistent.pl @@ -26,7 +26,24 @@ our %args = ( ssl => 1, }, lengths => \@lengths, - md5 => "bc3a3f39af35fe5b1687903da2b00c7f", + md5 => [ + "bc3a3f39af35fe5b1687903da2b00c7f", + "52afece07e61264c3087ddf52f729376", + "d41d8cd98f00b204e9800998ecf8427e", + "68b329da9893e34099c7d8ad5cb9c940", + "897316929176464ebc9ad085f31e7284", + "0ade138937c4b9cb36a28e2edb6485fc", + "e686f5db1f8610b65f98f3718e1a5b72", + "e5870c1091c20ed693976546d23b4841", + "bc3a3f39af35fe5b1687903da2b00c7f", + "52afece07e61264c3087ddf52f729376", + "d41d8cd98f00b204e9800998ecf8427e", + "68b329da9893e34099c7d8ad5cb9c940", + "897316929176464ebc9ad085f31e7284", + "0ade138937c4b9cb36a28e2edb6485fc", + "e686f5db1f8610b65f98f3718e1a5b72", + "e5870c1091c20ed693976546d23b4841", + ], ); 1; -- cgit v1.2.3