Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2012-02-29 | selftest: change plugin_dc to test using s3fs | Andrew Bartlett | 2 | -79/+9 | |
2012-02-29 | selftest: skip the troublesome samba4.rpc.unixinfo test | Andrew Bartlett | 1 | -0/+2 | |
The issue here is that while the single rpc_server process is stuck in an nss_winbind getpwuid() call, winbindd cannot contact netlogon to make the connection to the domain. nss_winbind comes into play when (for s3fs) the NSS_WRAPPER_WINBIND_SO_PATH environment variable is set. In the medium term, the unixinfo pipe should either be rewritten fully async or removed. Andrew Bartlett | |||||
2012-02-29 | selftest: Do not run chgdcpass test on the main DC | Andrew Bartlett | 1 | -0/+46 | |
If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett | |||||
2012-02-28 | selftest: added a pipe on stdin in s3 child processes | Andrew Tridgell | 1 | -0/+17 | |
this adds a pipe for STDIN in smbd, nmbd and winbindd when run in selftest. This allows those processes to detect when they should exit by looking for EOF on stdin. | |||||
2012-02-28 | s4:selftest: skip smb2.session testsuite | Michael Adam | 1 | -0/+1 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 03:19:52 CET 2012 on sn-devel-104 | |||||
2012-02-28 | s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - ↵ | Michael Adam | 1 | -1/+0 | |
test does not exist | |||||
2012-02-27 | selftest: up the default log level in s3 | Andrew Bartlett | 1 | -1/+1 | |
This may help show more detail when our tests fail. Andrew Bartlett | |||||
2012-02-23 | selftest: Do not skip environments that fail to start up | Andrew Bartlett | 2 | -3/+7 | |
This is a regression in 70f4a96c68e91e407651e2487cc3c66a80262fa2. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 23 10:55:20 CET 2012 on sn-devel-104 | |||||
2012-02-18 | selftest: Fix selftest to check ADS functionalty again | Andrew Bartlett | 1 | -8/+10 | |
This was found by looking over the lcov output on build.samba.org The new have_ads() check also now dies if it cannot run smbd, to avoid this in future. Andrew Bartlett | |||||
2012-02-16 | s3-selftest: Remove .posix_s3 from s3 test names | Andrew Bartlett | 2 | -9/+9 | |
As far as I can tell, this simply referred to the posix_s3.sh script that originally ran these tests. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 16 06:57:09 CET 2012 on sn-devel-104 | |||||
2012-02-16 | selftest: skip plugin_s4_dc if we do not have ADS | Andrew Bartlett | 1 | -0/+5 | |
2012-02-16 | selftest: skip targets that are not compiled in if we do not have ADS | Andrew Bartlett | 1 | -0/+25 | |
2012-02-16 | s3-selftest: Require SMB signing for ktest environment | Andrew Bartlett | 1 | -0/+1 | |
This will help weed out session key errors in the krb5 code. Andrew Bartlett | |||||
2012-02-16 | selftest: Do not start up an already-running test environment | Andrew Bartlett | 2 | -0/+8 | |
Otherwise we may re-provision the dc just because we started it via s3member or s4member first. Andrew Bartlett | |||||
2012-02-16 | selftest: Make plugin_s4_dc set the cached environment correctly | Andrew Bartlett | 1 | -10/+12 | |
2012-02-13 | s4:torture: add another SMB2 rename test | Christian Ambach | 1 | -0/+1 | |
this mimics Word 2010 saving a file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Feb 13 18:33:43 CET 2012 on sn-devel-104 | |||||
2012-02-13 | selftest: Allow setup_env() to signal that an environment name is unknown | Andrew Bartlett | 4 | -5/+12 | |
This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett | |||||
2012-02-10 | selftest: add smb2.rename to testsuite | Christian Ambach | 1 | -0/+10 | |
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104 | |||||
2012-02-10 | selftest: mark posix_s3.rpc.spoolss.printer as flakey test | Stefan Metzmacher | 1 | -0/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 10 10:04:15 CET 2012 on sn-devel-104 | |||||
2012-02-10 | build: Add --enable-coverage option to build with gcov support | Andrew Bartlett | 1 | -0/+7 | |
This allows running lcov over the output. Andrew Bartlett |