openbsd-ports/net/sslh/patches/patch-t

34 lines
849 B
Plaintext

Index: t
--- t.orig
+++ t
@@ -39,8 +39,6 @@ my $RB_OPEN_PID_FILE = 0;
my $RB_RESOLVE_ADDRESS = 0;
my $RB_CL_PARAMS = 0;
-`lcov --directory . --zerocounters`;
-
sub verbose_exec
{
my ($cmd) = @_;
@@ -293,7 +291,7 @@ for my $binary (@binaries) {
warn "$!\n" unless $cnx_h;
if ($cnx_h) {
close $cnx_h;
- my_is(1, "$binary: Connect and write nothing");
+ my_is(1, 1, "$binary: Connect and write nothing");
# The goal of the test is to check sslh doesn't
# crash
}
@@ -454,10 +452,7 @@ if ($RB_CL_PARAMS) {
my_is($code, 6, "Bad command line parameters");
}
-`lcov --directory . --capture --output-file sslh_cov.info`;
-`genhtml sslh_cov.info`;
-
-`killall echosrv`;
+`pkill -q echosrv`;
format test_results_top =