summaryrefslogtreecommitdiffstats
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
...
* Add TestListFilter definition.Jelmer Vernooij2012-03-041-0/+13
|
* selftest.testlist: Add read_testlist.Jelmer Vernooij2012-03-042-1/+51
|
* selftest.testlist: Add read_test_regexes.Jelmer Vernooij2012-03-042-1/+39
|
* selftest: Add testlist management module.Jelmer Vernooij2012-03-043-1/+73
|
* selftest.target: Add Environment.get_vars.Jelmer Vernooij2012-03-041-0/+11
|
* selftest: Add tests for trying to reuse an environment that has gone down.Jelmer Vernooij2012-03-041-1/+7
|
* selftest: Add tests for NoneEnvironment.Jelmer Vernooij2012-03-041-0/+17
|
* selftest.target: Test that environments are reused.Jelmer Vernooij2012-03-041-0/+5
|
* selftest.target: Add tests for get_running_env.Jelmer Vernooij2012-03-041-0/+7
|
* selftest.target: Add tests for getlog_env.Jelmer Vernooij2012-03-041-0/+8
|
* selftest.target: Add tests for check.Jelmer Vernooij2012-03-042-2/+9
|
* selftest.target: Add tests for setup.Jelmer Vernooij2012-03-042-9/+14
|
* selftest: Add base classes for Target/Environment and their management.Jelmer Vernooij2012-03-043-1/+199
|
* selftest.socket_wrapper: interface is an integer.Jelmer Vernooij2012-03-041-1/+1
|
* selftest.socket_wrapper: Add basic unit tests.Jelmer Vernooij2012-03-042-3/+16
|
* selftest.socket_wrapper: Add docstrings.Jelmer Vernooij2012-03-041-1/+8
|
* Add test infrastructure for selftest.Jelmer Vernooij2012-03-042-0/+52
|
* selftest: Add python version of socket wrapper utilities.Jelmer Vernooij2012-03-041-0/+54
|
* selftest: Add selftest.py.Jelmer Vernooij2012-03-041-0/+944
|
* selftest: Rework Samba3.pm process terminationAndrew Bartlett2012-03-041-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
* selftest: Rework Samba4.pm process termination.Andrew Bartlett2012-03-041-6/+23
| | | | | | | | We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett
* selftest: Fix waitpid termination testAndrew Bartlett2012-03-041-2/+2
|
* selftest: Use fork()/exec() rather than system()Andrew Bartlett2012-03-042-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
* selftest: Remove unused vde functions.Jelmer Vernooij2012-03-041-25/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104
* selftest/README: Expand inconsistent tabsJelmer Vernooij2012-03-041-11/+11
|
* selftest: Remove outdated template.Jelmer Vernooij2012-03-041-47/+0
|
* selftest: Remove unused and broken target 'windows'.Jelmer Vernooij2012-03-042-46/+0
|
* selftest: more precisely skip durable-open, not durable.openMichael Adam2012-03-031-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 3 19:17:32 CET 2012 on sn-devel-104
* s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵Michael Adam2012-03-031-0/+1
| | | | persistent opens
* selftest: close stdin and wait with waitpid() for a safer exitAndrew Bartlett2012-03-022-2/+36
| | | | | | | This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
* selftest: Put stdin pipe on the environmentAndrew Bartlett2012-03-021-9/+8
| | | | | | This seems to help us close the right pipe at cleanup time. Andrew Bartlett
* selftest: Move manual page into a separate file.Jelmer Vernooij2012-03-022-101/+78
| | | | (Generated using pod2man from selftest.pl itself)
* selftest: Establish a registry of socket wrapper IPsAndrew Bartlett2012-03-023-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
* selftest: change plugin_dc to test using s3fsAndrew Bartlett2012-02-292-79/+9
|
* selftest: skip the troublesome samba4.rpc.unixinfo testAndrew Bartlett2012-02-291-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
* selftest: Do not run chgdcpass test on the main DCAndrew Bartlett2012-02-291-0/+46
| | | | | | | If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
* selftest: added a pipe on stdin in s3 child processesAndrew Tridgell2012-02-281-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.
* s4:selftest: skip smb2.session testsuiteMichael Adam2012-02-281-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 03:19:52 CET 2012 on sn-devel-104
* s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - ↵Michael Adam2012-02-281-1/+0
| | | | test does not exist
* selftest: up the default log level in s3Andrew Bartlett2012-02-271-1/+1
| | | | | | This may help show more detail when our tests fail. Andrew Bartlett
* selftest: Do not skip environments that fail to start upAndrew Bartlett2012-02-232-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
* selftest: Fix selftest to check ADS functionalty againAndrew Bartlett2012-02-181-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
* s3-selftest: Remove .posix_s3 from s3 test namesAndrew Bartlett2012-02-162-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
* selftest: skip plugin_s4_dc if we do not have ADSAndrew Bartlett2012-02-161-0/+5
|
* selftest: skip targets that are not compiled in if we do not have ADSAndrew Bartlett2012-02-161-0/+25
|
* s3-selftest: Require SMB signing for ktest environmentAndrew Bartlett2012-02-161-0/+1
| | | | | | This will help weed out session key errors in the krb5 code. Andrew Bartlett
* selftest: Do not start up an already-running test environmentAndrew Bartlett2012-02-162-0/+8
| | | | | | | Otherwise we may re-provision the dc just because we started it via s3member or s4member first. Andrew Bartlett
* selftest: Make plugin_s4_dc set the cached environment correctlyAndrew Bartlett2012-02-161-10/+12
|
* s4:torture: add another SMB2 rename testChristian Ambach2012-02-131-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
* selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett2012-02-134-5/+12
| | | | | | | This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett