summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-12-20 22:08:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-12-20 22:08:06 +0000
commit88a0060b2e7f45dff0b18ac61f4695b86d840195 (patch)
tree69924d4950a27b0140a4aabb17fb0f4206d66b07 /tests/runtests.pl
parent4adf7d62d4103623b546041023a476cdfb106b52 (diff)
downloadcurl-88a0060b2e7f45dff0b18ac61f4695b86d840195.tar.gz
revert that, we already had a function named like that!
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 1abe2e6a8..770ffadcf 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -617,7 +617,7 @@ sub verifyhttp {
# server runs fine but we cannot talk to it ("Failed to connect to ::1: Can't
# assign requested address" #
-sub verifyserver {
+sub verifyftp {
my ($proto, $ip, $port) = @_;
my $pid;
my $time=time();
@@ -625,7 +625,7 @@ sub verifyserver {
if($proto eq "ftps") {
$extra = "--insecure --ftp-ssl-control ";
}
- my $cmd="$VCURL --max-time $server_response_maxtime --silent --verbose --globoff $extra\"$proto://$ip:$port/verifiedserver\" 2>$LOGDIR/verifyserver";
+ my $cmd="$VCURL --max-time $server_response_maxtime --silent --verbose --globoff $extra\"$proto://$ip:$port/verifiedserver\" 2>$LOGDIR/verifyftp";
# check if this is our server running on this port:
my @data=runclientoutput($cmd);
logmsg "RUN: $cmd\n" if($verbose);
@@ -750,12 +750,12 @@ sub verifysocks {
my %protofunc = ('http' => \&verifyhttp,
'https' => \&verifyhttp,
- 'ftp' => \&verifyserver,
- 'pop3' => \&verifyserver,
- 'imap' => \&verifyserver,
- 'smtp' => \&verifyserver,
- 'ftps' => \&verifyserver,
- 'tftp' => \&verifyserver,
+ 'ftp' => \&verifyftp,
+ 'pop3' => \&verifyftp,
+ 'imap' => \&verifyftp,
+ 'smtp' => \&verifyftp,
+ 'ftps' => \&verifyftp,
+ 'tftp' => \&verifyftp,
'ssh' => \&verifyssh,
'socks' => \&verifysocks);