From: Daniel Stenberg Date: Wed, 27 Jun 2001 22:01:08 +0000 (+0000) Subject: better strip X-Git-Tag: curl-7_8_1-pre3~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be449bdea1543913255dd160efbedf244e410dd3;p=curl better strip --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 84e910424..6fa44778f 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -567,9 +567,14 @@ sub singletest { # what to cut off from the live protocol sent by curl my @strip = getpart("verify", "strip"); - @out = striparray( $strip[0], \@out); - my @protstrip= striparray($strip[0], \@protocol); + my @protstrip=@protocol; + + for(@strip) { + # strip all patterns from both arrays + @out = striparray( $_, \@out); + @protstrip= striparray( $_, \@protstrip); + } $res = compare(\@out, \@protstrip); if($res) {