summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-02 16:31:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-02 16:31:52 +0200
commitc2babc88af85f5055bba339cf15deb0c5a6b46d4 (patch)
tree660f22f5ef1597287f1a2fcc2faab5b1581b7c40
parent5cb7f893dfafaff3d37a12eb6ad57eba53760943 (diff)
downloadcurl-bagder/runtests-less-sleep.tar.gz
runtests: remove sleep callsbagder/runtests-less-sleep
Remove many one second sleeps that were done *after* each newly started test server already has been verified. They should not have any purpose there.
-rwxr-xr-xtests/runtests.pl19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index f38e21e84..51728409f 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -1572,8 +1572,6 @@ sub runhttpserver {
logmsg "RUN: $srvrname server is on PID $httppid port $port\n";
}
- sleep(1);
-
return ($httppid, $pid2, $port);
}
@@ -1666,8 +1664,6 @@ sub runhttpsserver {
logmsg "RUN: $srvrname server is PID $httpspid port $port\n";
}
- sleep(1);
-
return ($httpspid, $pid2, $port);
}
@@ -1745,8 +1741,6 @@ sub runhttptlsserver {
logmsg "RUN: $srvrname server is now running PID $httptlspid\n";
}
- sleep(1);
-
return ($httptlspid, $pid2);
}
@@ -1866,8 +1860,6 @@ sub runpingpongserver {
return 0;
}
- sleep(1);
-
return ($pid2, $ftppid);
}
@@ -1956,7 +1948,6 @@ sub runftpsserver {
}
last;
}
- sleep(1);
return ($ftpspid, $pid2, $port);
}
@@ -2039,8 +2030,6 @@ sub runtftpserver {
logmsg "RUN: $srvrname server on PID $tftppid port $port\n";
}
- sleep(1);
-
return ($pid2, $tftppid, $port);
}
@@ -2123,8 +2112,6 @@ sub runrtspserver {
logmsg "RUN: $srvrname server PID $rtsppid port $port\n";
}
- sleep(1);
-
return ($rtsppid, $pid2, $port);
}
@@ -2456,8 +2443,6 @@ sub rundictserver {
logmsg "RUN: $srvrname server is now running PID $dictpid\n";
}
- sleep(1);
-
return ($dictpid, $pid2);
}
@@ -2533,8 +2518,6 @@ sub runsmbserver {
logmsg "RUN: $srvrname server is now running PID $smbpid\n";
}
- sleep(1);
-
return ($smbpid, $pid2);
}
@@ -2609,8 +2592,6 @@ sub runnegtelnetserver {
logmsg "RUN: $srvrname server is now running PID $ntelpid\n";
}
- sleep(1);
-
return ($ntelpid, $pid2);
}