aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-16 07:07:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-16 07:07:00 +0000
commit1a31bff9fe35e20c8498a1880080716466bd4f1c (patch)
treef29e11c6f1ed6dda2c59ce27cbccc93573f20a38
parent4eaa3329ec9629db444091a9cdc1edc8873a4cf8 (diff)
return, not exit, on several places
-rwxr-xr-xtests/runtests.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index f6e897965..eec07406f 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -525,7 +525,7 @@ sub runhttpserver {
# it is NOT alive
print "RUN: failed to start the HTTP server!\n";
stopservers($verbose);
- exit;
+ return (0,0);
}
# Server is up. Verify that we can speak to it.
@@ -579,7 +579,7 @@ sub runhttpsserver {
# it is NOT alive
print "RUN: failed to start the HTTPS server!\n";
stopservers($verbose);
- exit;
+ return(0,0);
}
# Server is up. Verify that we can speak to it.
@@ -1183,7 +1183,7 @@ sub singletest {
if(!$filename) {
print "ERROR: section client=>file has no name attribute!\n";
- exit;
+ return -1;
}
my $fileContent = join('', @inputfile);
subVariables \$fileContent;
@@ -1259,7 +1259,7 @@ sub singletest {
print "perl: $code\n";
print "precommand: $@";
stopservers($verbose);
- exit;
+ return -1;
}
}
@@ -1432,7 +1432,7 @@ sub singletest {
if(!$filename) {
print "ERROR: section verify=>file has no name attribute!\n";
stopservers($verbose);
- exit;
+ return -1;
}
my $filemode=$hash{'mode'};