~vila/bzr/local-test-server

Viewing all changes in revision 57.

  • Committer: Vincent Ladeuil
  • Date: 2009-02-23 13:12:18 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20090223131218-8nhpac12wk85xfw7
Test server test passing.

* tests/test_utils.py:
(full_scenarios): Complete muddleftpd definition.

* test_server.py:
(MuddleftpdFeature, Muddleftpd): New classes.
(get_test_permutations): Add muddleftpd permutation.

* server.py:
(Server._kill_server): Add docstring, return True if zombie
catched.
(Muddleftpd.is_installed): We need ftpwho too.
(Muddleftpd.get_pid): 'ftpwho -p' is the reliable way to get the
pid.
(Muddleftpd._start): Use get_pid() to ensure the server was started.
(Muddleftpd._stop): There is no pidfile.

* configs/muddleftpd.conf:
(scratchfile): Mention that this more or less implies that we run
a single server only.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: