aboutsummaryrefslogtreecommitdiff
path: root/tests/ftp.pm
AgeCommit message (Collapse)Author
2020-04-11tests: fix conflict between Cygwin/msys and Windows PIDsMarc Hoersken
Add 65536 to Windows PIDs to allow Windows specific treatment by having disjunct ranges for Cygwin/msys and Windows PIDs. See also: - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ h=b5e1003722cb14235c4f166be72c09acdffc62ea - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ h=448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe Replaces #5178 Closes #5188
2020-03-07tests: use native Sleep function as fallback on WindowsMarc Hoersken
Reviewed-By: Daniel Stenberg Closes #5054
2020-03-04tests: try to make sleeping portable by avoiding selectMarc Hoersken
select does not support just waiting on Windows: https://perldoc.perl.org/perlport.html#select Reviewed-By: Daniel Stenberg Closes #5035
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2013-04-06ftp.pm: Added tskill to support Windows XP HomeMarc Hoersken
2013-04-06runtests.pl: Modularization of MinGW/Msys compatibility functionsMarc Hoersken
2013-04-06ftp.pm: Made Perl testsuite able to handle Windows processesMarc Hoersken
2013-04-06ftp.pm: Made Perl testsuite able to kill Windows processesMarc Hoersken
2010-08-25gopher tests: revert parts of gopher in the pingpong serverDaniel Stenberg
Introduced in the initial gopher commits, there was added logic to do GOPHER test serving in the pingpong server but as it resembles HTTP much more than FTP or SMTP, the gopher testing has been moved over to instead use the sws (HTTP) server. This change simply removes unused code.
2010-08-25Gopher using Curl_write; test suite (4 tests)Cameron Kaiser
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-01-20Allow killsockfilters() to take a 5th optional parameter that when providedYang Tse
indicates that only one of the two possible sockfilter processes should be killed. Valid values for this parameter are 'main' and 'data'.
2010-01-12Make sockfilter kill messages look alike server onesYang Tse
2010-01-09Start using the centralized pidfile and logfile name generationYang Tse
subroutines for ftp, pop3, imap and smtp test suite servers.
2009-12-24Enable warningsYang Tse
2009-12-23Fix warningsYang Tse
2009-12-23Back out some pingpong server stopping changes introduced last week inYang Tse
order to re-use 'classic' stopping and allow taking test-suite run time references from this state.
2009-12-21Reap processes dead children ASAP without blockingYang Tse
2009-12-19Slack time reductionYang Tse
2009-12-17Test harness process control enhancementsYang Tse
2009-12-16Test harness process control enhancementsYang Tse
2009-12-16Test harness process control enhancementsYang Tse
2009-11-30- In order to better reflect that the returned pid is extracted from theYang Tse
given file, serverpid sub is renamed to pidfromfile. In addition it is enhanced to make sure that it always returns zero unless a numerical positive value is returned. - To better reflect that only process existance is actually checked, checkserver sub is renamed to processexists. In addition it is enhanced making it remove the given pid file when the extracted pid is no longer alive.
2008-04-23improve synchronization between test harness runtests.pl scriptYang Tse
and test harness servers to minimize risk of false test failures. http://curl.haxx.se/mail/lib-2008-04/0392.html
2007-04-24Clear out FTP server options before each new client.Dan Fandrich
Wait for child processes to die to avoid creating zombies.
2006-11-20Revert ftp.pm back to revision 1.5 Adding copyright notice.Yang Tse
This is done to back out changes done from revisions 1.6 to 1.10
2006-11-20Add some message loggingYang Tse
2006-11-20Revert to KILL test servers until all test serversYang Tse
have proper TERM and INT signal handlers implemented.
2006-11-19Comment out the use of the "warnings" module now that ftp.pm seems toYang Tse
be clear of warnings. Uncomment it if this module is further modified. The "warnings" module requires perl 5.006 or later. Previous perl versions don't have it and die on missing modules.
2006-11-18Fix warning "Use of uninitialized value in ...".Yang Tse
If the list has only one item avoid sort subroutine.
2006-11-17The hash of running servers is now a hash of hashes which for each runningYang Tse
server holds not only its two main pids, but also the pidfile of the test server and the 'slavepidfiles' for ftp* servers. This allows a better control when stopping servers. Now from runtests.pl when test servers are stopped they are signalled in sequence TERM, INT and KILL allowing time in between for them to die. This will give us a chance of gracefully stopping test servers, which we didn't have when we were killing them in first instance.
2005-05-25added function for individual ftp slave killsDaniel Stenberg
2005-04-28moved in functions from runtests.pl to enable the ftpserver to use theDaniel Stenberg
killslaves function
2005-04-28no, the kill servers messages need to be verbose, they're too frequentDaniel Stenberg
2005-04-28display killed pids to make it easier to see for autobuilds etcDaniel Stenberg
2005-04-18Modified the FTP server to use the new 'sockfilt' program to do all the socketDaniel Stenberg
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.