Prefix output to avoid random ok to confuse test parser
Prefix output of generated dh parameters to avoid misinterpretation
of lines beginning with ok[^a-zA-Z0-9] as a testresult.
Also corrected indent and removed useless comma after last item.
Fixes
@@ -123,7 +123,7 @@ my @testdata = (
pkeyopts => [ 'type:generator', 'safeprime-generator:5'],
expect => [ 'ERROR' ],
message => 'safe prime generator should fail for DHX',
- },
+ }
);
plan skip_all => "DH isn't supported in this build" if disabled("dh");
@@ -165,7 +165,7 @@ sub compareline {
}
print "-----------------\n";
foreach (@lines) {
- print $_;
+ print "# ".$_;
}
print "-----------------\n";
foreach my $ex (@expected) {
