aboutsummaryrefslogtreecommitdiff
path: root/tests/ftp.pm
AgeCommit message (Collapse)Author
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.