summaryrefslogtreecommitdiff
path: root/selftest/target
AgeCommit message (Collapse)AuthorFilesLines
2012-06-05Tests for bug #8972 - Add a posix_share definition to s4 so we can do raw ↵Jeremy Allison1-0/+8
posix permissions checks.
2012-06-05Tests for bug #8972 - Add a posix_share definition to s3 so we can do raw ↵Jeremy Allison1-0/+9
posix permissions checks.
2012-05-31selftest:Samba4: use the nmblookup4 binary mappingMichael Adam1-1/+1
2012-05-31s3:selftest: introduce a variable for binpath('nmblookup3') in tests.pyMichael Adam1-5/+6
2012-05-24s4-provision: Make s3fs the default way to install a new Samba4 DCAndrew Bartlett1-0/+1
With s3fs now well settled into master, we now throw the swtich and make it the default. There is still much to do, but we need to be using s3fs by default to find out exactly what that is. Andrew Bartlett
2012-05-18selftest/Samba3: add 'smbd:suicide mode = yes'Stefan Metzmacher1-0/+1
metze
2012-05-15selftest: Remove tests for security=serverAndrew Bartlett2-41/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-11samba4: When running samba_dnsupdate during tests, use the testJelmer Vernooij1-7/+7
smb.conf. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri May 11 18:18:53 CEST 2012 on sn-devel-104
2012-05-02selftest: 'store dos attributes = yes' is now set in fileserver.confAndrew Bartlett1-4/+0
As such, there is no need to set it or the permissions-based mappings here as well. Andrew Bartlett
2012-05-02selftest: Do not start samba4 srvsvc in plugin_s4_dc modeAndrew Bartlett1-1/+1
2012-05-02selftest: add hooks required for printing to Samba4.pmAndrew Bartlett1-0/+16
2012-05-02selftest: Use same pattern for path to share as Samba3.pmAndrew Bartlett1-13/+15
This helps as we declare tests that were previously targetted at Samba3 only. Andrew Bartlett
2012-05-02selftest: Add hideunread share to plugin_s4_dcAndrew Bartlett1-0/+3
2012-05-02selftest: run plugin_s4_dc with 'acl_xattr xattr_tdb streams_depot' VFS modulesAndrew Bartlett1-0/+1
2012-05-02selftest: prepare to run smbtorture tests against plugin_s4_dcAndrew Bartlett1-10/+47
2012-05-02selftest: attempt to test samba3hide in a different environmentAndrew Bartlett1-0/+2
This should ensure that the samba3hide test is still run and passes, in a non-ACLed environment. Andrew Bartlett
2012-05-02selftest: Enable ACL testing against the s3dc environmentAndrew Bartlett1-1/+1
Previously, ACL tests were skipped and the correct modules for ACL testing were not loaded. The addition of a knownfail entry for raw.samba3* tests is due to an inconsitancy between the behaviour with and without ACL modules loaded - posix chown calls appear to be ignored in this mode. Andrew Bartlett
2012-04-18s3fs: Use xattr_tdb format for xattr storageAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
2012-04-03file_server: Move vfs objects initialisation into file_server.c smb.conf wrapperAndrew Bartlett1-3/+0
2012-03-27selftest.py: Add get_interface.Jelmer Vernooij1-0/+34
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 27 00:32:48 CEST 2012 on sn-devel-104
2012-03-24selftest.py: Add cleanup_pid.Jelmer Vernooij1-2/+27
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 04:52:59 CET 2012 on sn-devel-104
2012-03-24selftest.py: Add write_krb5_conf.Jelmer Vernooij1-0/+40
2012-03-24selftest.py: Add mk_realms_stanza function.Jelmer Vernooij1-0/+32
2012-03-24selftest.py: Add selftest.target.samba with bindir_path function.Jelmer Vernooij1-0/+24
2012-03-15s4:selftest: make the use of writetimeupdatedelay consistent across all testsMichael Adam1-3/+3
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 20:20:13 CET 2012 on sn-devel-104
2012-03-15s3:selftest: reactivate the writetimeupdatedelay speed-upMichael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-11s3 selftest: Allow DNS updates during testingKai Blin1-1/+3
2012-03-07s3-rpc_server: Do not register embedded ncacn_np endpoints by defaultAndrew Bartlett1-0/+1
The end point mapper is primarily in support of lsasd, and the key SAMR, LSA and NETLOGON services being accessed over TCP/IP. The end point mapper does not appear to be used for the well-known mappings to named pipes, and we have a problem with how to safely register the embedded pipes. For now, disable this to avoid re-registration storms in production, until we sort out a better way. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 7 14:27:38 CET 2012 on sn-devel-104
2012-03-07s3-rpc_server: Do not setup ncalrpc pipes and TCP for embedded rpc serversAndrew Bartlett1-1/+0
Embedded RPC services are those not launched in the preforked lsasd and spoolssd children. The reason that these child processes were created is that is is not possible to correctly listen for ncalrpc and TCP connections without creating a child process. Therefore, we should not have these embedded RPC services to listen on these sockets just because the endpoint mapper has been enabled. Andrew Bartlett
2012-03-07selftest: Only run s3dc with a forked lsasdAndrew Bartlett1-11/+11
This ensures that we run ktest, member and s3member in the default configuration, to try and cover both code paths. (This does not change the tests being run, but at least the initialisation code will be checked, plus whatever the rpcclient test can cover). Andrew Bartlett
2012-03-05selftest: run smbtorture_s3 tests against the ntvfs file serverAndrew Bartlett1-1/+2
This checks not only the behaviour of the NTVFS file server, but also the client library and authentication stack. Andrew Bartlett
2012-03-05selftest: Reduce time in cleanup loop, try waitpid on all 3 childrenAndrew Bartlett1-6/+12
2012-03-05selftest: forward rpcecho to Samba4 in plugin_s4_dcAndrew Bartlett1-1/+1
2012-03-04selftest.target: Add NoneTarget.Jelmer Vernooij1-0/+17
2012-03-04selftest.target: Add Environment.get_vars.Jelmer Vernooij1-0/+11
2012-03-04selftest.target: Add tests for check.Jelmer Vernooij1-2/+1
2012-03-04selftest.target: Add tests for setup.Jelmer Vernooij1-5/+5
2012-03-04selftest: Add base classes for Target/Environment and their management.Jelmer Vernooij1-0/+138
2012-03-04selftest: Rework Samba3.pm process terminationAndrew Bartlett1-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-04selftest: Rework Samba4.pm process termination.Andrew Bartlett1-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-04selftest: Fix waitpid termination testAndrew Bartlett1-2/+2
2012-03-04selftest: Use fork()/exec() rather than system()Andrew Bartlett2-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-04selftest: Remove outdated template.Jelmer Vernooij1-47/+0
2012-03-04selftest: Remove unused and broken target 'windows'.Jelmer Vernooij1-40/+0
2012-03-02selftest: close stdin and wait with waitpid() for a safer exitAndrew Bartlett2-2/+36
This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
2012-03-02selftest: Put stdin pipe on the environmentAndrew Bartlett1-9/+8
This seems to help us close the right pipe at cleanup time. Andrew Bartlett
2012-03-02selftest: Establish a registry of socket wrapper IPsAndrew Bartlett3-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-29selftest: change plugin_dc to test using s3fsAndrew Bartlett2-79/+9
2012-02-29selftest: Do not run chgdcpass test on the main DCAndrew Bartlett1-0/+46
If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
2012-02-28selftest: added a pipe on stdin in s3 child processesAndrew Tridgell1-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.