mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
better strip
This commit is contained in:
parent
798aaf0c0a
commit
be449bdea1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user