aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/httpsserver.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/httpsserver.pl b/tests/httpsserver.pl
index 068f89e3e..9b4cec0c9 100644
--- a/tests/httpsserver.pl
+++ b/tests/httpsserver.pl
@@ -82,6 +82,13 @@ if($verbose) {
print "HTTPS server: $cmd\n";
}
-system($cmd);
+my $rc = system($cmd);
+
+$rc >>= 8;
+if($rc) {
+ print STDERR "stunnel exited with $rc!\n";
+}
unlink $conffile;
+
+exit $rc;