summaryrefslogtreecommitdiff
path: root/selftest/target
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-02-27selftest: up the default log level in s3Andrew Bartlett1-1/+1
This may help show more detail when our tests fail. Andrew Bartlett
2012-02-23selftest: Do not skip environments that fail to start upAndrew Bartlett1-2/+6
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-18selftest: Fix selftest to check ADS functionalty againAndrew Bartlett1-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-16selftest: skip plugin_s4_dc if we do not have ADSAndrew Bartlett1-0/+5
2012-02-16selftest: skip targets that are not compiled in if we do not have ADSAndrew Bartlett1-0/+25
2012-02-16s3-selftest: Require SMB signing for ktest environmentAndrew Bartlett1-0/+1
This will help weed out session key errors in the krb5 code. Andrew Bartlett
2012-02-16selftest: Do not start up an already-running test environmentAndrew Bartlett2-0/+8
Otherwise we may re-provision the dc just because we started it via s3member or s4member first. Andrew Bartlett
2012-02-16selftest: Make plugin_s4_dc set the cached environment correctlyAndrew Bartlett1-10/+12
2012-02-13selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett3-4/+4
This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
2012-02-01selftest: Remove unused support for --exeextAndrew Bartlett3-11/+7
2012-01-28s3-selftest: Add test for posix large reads and writesAndrew Bartlett1-0/+5
This includes encrypted reads and writes, both NTLM and kerberos. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 28 00:13:57 CET 2012 on sn-devel-104
2011-12-13s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett1-3/+2
This tries to ensure our netbios lookup code is still run. Andrew Bartlett
2011-12-12tdb2: don't use TDB2 versions of test tdb files.Rusty Russell1-5/+1
Now tdb2 handles tdb1 files, we don't need most of commit 5eecc854236f0b943aaa89e0c3a46f9fbd208ca9 which added TDB2 versions of all the testing tdbs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 12 06:33:44 CET 2011 on sn-devel-104
2011-11-30selftest: Drop broken and unused Kvm target.Jelmer Vernooij1-162/+0
2011-11-29selftest/Samba4: pass '--machinepass' to 'samba-tool domain join'Stefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 29 11:00:42 CET 2011 on sn-devel-104
2011-11-17s4 dns: Turn on internal DNS server during testingKai Blin1-1/+1
2011-11-15selftest/Samba4: allow schema updatesStefan Metzmacher1-0/+1
metze
2011-11-08selftest: Remove the 'all' environment as it is just too slow to start upAndrew Bartlett1-59/+0
Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett
2011-11-03selftest/Samba4: use "server signing = on" for nowStefan Metzmacher1-0/+4
Otherwise the smb2.compound test fails as it doesn't work with signing yet. metze