Skip to content
Snippets Groups Projects
Commit 0150bff7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

make ftps and https invoke both necessary servers

parent 0f493b60
No related branches found
No related tags found
No related merge requests found
......@@ -613,6 +613,7 @@ sub singletest {
}
else {
$CMDLINE="$LIBDIR/$tool";
$DBGCURL=$CMDLINE;
}
$CMDLINE .= "$cmdargs >$STDOUT 2>$STDERR";
......@@ -829,13 +830,11 @@ sub serverfortest {
push @what, "file";
}
elsif($testnum< 400) {
# 300 - 399 is for HTTPS, two servers!
push @what, "http";
# 300 - 399 is for HTTPS
push @what, "https";
}
elsif($testnum< 500) {
# 400 - 499 is for FTPS, also two servers
push @what, "ftp";
# 400 - 499 is for FTPS
push @what, "ftps";
}
......@@ -876,6 +875,10 @@ sub serverfortest {
# or if libcurl is SSL-less
return 1;
}
if(!$run{'ftp'}) {
runftpserver($verbose);
$run{'ftp'}=$FTPPIDFILE;
}
if(!$run{'ftps'}) {
runftpsserver($verbose);
$run{'ftps'}=$FTPSPIDFILE;
......@@ -890,6 +893,10 @@ sub serverfortest {
# or if libcurl is SSL-less
return 1;
}
if(!$run{'http'}) {
runhttpserver($verbose);
$run{'http'}=$HTTPPIDFILE;
}
if(!$run{'https'}) {
runhttpsserver($verbose);
$run{'https'}=$HTTPSPIDFILE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment