diff options
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 22cc8f873..1ab8b5e8c 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -602,6 +602,15 @@ sub singletest { my @protstrip=@protocol; + # check if there's any attributes on the verify/protocol section + my %hash = getpartattr("verify", "protocol"); + + if($hash{'nonewline'}) { + # Yes, we must cut off the final newline from the final line + # of the protocol data + chomp($protstrip[$#protstrip]); + } + for(@strip) { # strip all patterns from both arrays @out = striparray( $_, \@out); |