Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-05 | selftest.run: Factor out expand_command_run. | Jelmer Vernooij | 3 | -17/+73 | |
2012-03-05 | selftest.run: Factor out expand_command_list. | Jelmer Vernooij | 3 | -7/+25 | |
2012-03-05 | selftest: Factor out expand_environment_strings. | Jelmer Vernooij | 4 | -11/+70 | |
2012-03-04 | selftest.py: Use testtools TestCase class. | Jelmer Vernooij | 4 | -12/+15 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 19:38:25 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest.py: Add dummy init file (required to run tests). | Jelmer Vernooij | 1 | -0/+0 | |
2012-03-04 | selftest.pl: Remove unused --verbose option. | Jelmer Vernooij | 1 | -8/+0 | |
2012-03-04 | selftest.py: Remove unused --verbose option. | Jelmer Vernooij | 1 | -5/+0 | |
2012-03-04 | selftest.py: Remove unused code, reconcile signal handlers. | Jelmer Vernooij | 1 | -19/+16 | |
2012-03-04 | selftest.py: Fix handling of boolean options. | Jelmer Vernooij | 1 | -10/+12 | |
2012-03-04 | selftest.py: Fix signal handling. | Jelmer Vernooij | 1 | -2/+4 | |
2012-03-04 | selftest: Now runs again for tests that use environment 'none'. | Jelmer Vernooij | 1 | -41/+68 | |
2012-03-04 | selftest.target: Add NoneTarget. | Jelmer Vernooij | 2 | -0/+30 | |
2012-03-04 | selftest.py: Finish conversion to python - now loads without syntax errors. | Jelmer Vernooij | 1 | -63/+89 | |
2012-03-04 | selftest.testlist: Add RestrictedTestManager.from_path. | Jelmer Vernooij | 2 | -37/+27 | |
2012-03-04 | selftest: More work on conversion to Python. | Jelmer Vernooij | 1 | -806/+482 | |
2012-03-04 | selftest.testlist: Add docstrings. | Jelmer Vernooij | 1 | -0/+12 | |
2012-03-04 | selftest.testlist: Add manager for restricted test lists. | Jelmer Vernooij | 2 | -10/+54 | |
2012-03-04 | Add TestListFilter definition. | Jelmer Vernooij | 1 | -0/+13 | |
2012-03-04 | selftest.testlist: Add read_testlist. | Jelmer Vernooij | 2 | -1/+51 | |
2012-03-04 | selftest.testlist: Add read_test_regexes. | Jelmer Vernooij | 2 | -1/+39 | |
2012-03-04 | selftest: Add testlist management module. | Jelmer Vernooij | 3 | -1/+73 | |
2012-03-04 | selftest.target: Add Environment.get_vars. | Jelmer Vernooij | 1 | -0/+11 | |
2012-03-04 | selftest: Add tests for trying to reuse an environment that has gone down. | Jelmer Vernooij | 1 | -1/+7 | |
2012-03-04 | selftest: Add tests for NoneEnvironment. | Jelmer Vernooij | 1 | -0/+17 | |
2012-03-04 | selftest.target: Test that environments are reused. | Jelmer Vernooij | 1 | -0/+5 | |
2012-03-04 | selftest.target: Add tests for get_running_env. | Jelmer Vernooij | 1 | -0/+7 | |
2012-03-04 | selftest.target: Add tests for getlog_env. | Jelmer Vernooij | 1 | -0/+8 | |
2012-03-04 | selftest.target: Add tests for check. | Jelmer Vernooij | 2 | -2/+9 | |
2012-03-04 | selftest.target: Add tests for setup. | Jelmer Vernooij | 2 | -9/+14 | |
2012-03-04 | selftest: Add base classes for Target/Environment and their management. | Jelmer Vernooij | 3 | -1/+199 | |
2012-03-04 | selftest.socket_wrapper: interface is an integer. | Jelmer Vernooij | 1 | -1/+1 | |
2012-03-04 | selftest.socket_wrapper: Add basic unit tests. | Jelmer Vernooij | 2 | -3/+16 | |
2012-03-04 | selftest.socket_wrapper: Add docstrings. | Jelmer Vernooij | 1 | -1/+8 | |
2012-03-04 | Add test infrastructure for selftest. | Jelmer Vernooij | 2 | -0/+52 | |
2012-03-04 | selftest: Add python version of socket wrapper utilities. | Jelmer Vernooij | 1 | -0/+54 | |
2012-03-04 | selftest: Add selftest.py. | Jelmer Vernooij | 1 | -0/+944 | |
2012-03-04 | selftest: Rework Samba3.pm process termination | Andrew Bartlett | 1 | -15/+23 | |
We now store the timelimit child PID in memory, and confirm that the child has exited with both waitpid() and kill(0, $pid). By calling Samba::cleanup_child() we get exit status information. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Mar 4 11:51:12 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest: Rework Samba4.pm process termination. | Andrew Bartlett | 1 | -6/+23 | |
We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett | |||||
2012-03-04 | selftest: Fix waitpid termination test | Andrew Bartlett | 1 | -2/+2 | |
2012-03-04 | selftest: Use fork()/exec() rather than system() | Andrew Bartlett | 2 | -71/+59 | |
This follows the Samba3.pm model for starting child processes is to use fork()/exec(). This reduces the number of processes being created by selftest.pl, and gives us more information about the child process and the running state in the parent. Andrew Bartlett | |||||
2012-03-04 | selftest: Remove unused vde functions. | Jelmer Vernooij | 1 | -25/+0 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest/README: Expand inconsistent tabs | Jelmer Vernooij | 1 | -11/+11 | |
2012-03-04 | selftest: Remove outdated template. | Jelmer Vernooij | 1 | -47/+0 | |
2012-03-04 | selftest: Remove unused and broken target 'windows'. | Jelmer Vernooij | 2 | -46/+0 | |
2012-03-03 | selftest: more precisely skip durable-open, not durable.open | Michael Adam | 1 | -1/+1 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 3 19:17:32 CET 2012 on sn-devel-104 | |||||
2012-03-03 | s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵ | Michael Adam | 1 | -0/+1 | |
persistent opens | |||||
2012-03-02 | selftest: close stdin and wait with waitpid() for a safer exit | Andrew Bartlett | 2 | -2/+36 | |
This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett | |||||
2012-03-02 | selftest: Put stdin pipe on the environment | Andrew Bartlett | 1 | -9/+8 | |
This seems to help us close the right pipe at cleanup time. Andrew Bartlett | |||||
2012-03-02 | selftest: Move manual page into a separate file. | Jelmer Vernooij | 2 | -101/+78 | |
(Generated using pod2man from selftest.pl itself) | |||||
2012-03-02 | selftest: Establish a registry of socket wrapper IPs | Andrew Bartlett | 3 | -29/+56 | |
This fixes a bug where chgdcpass was on the same IP as localsubdc, and will avoid similar mistakes in future. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 03:48:05 CET 2012 on sn-devel-104 |