Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-07 | selftest: Only run s3dc with a forked lsasd | Andrew Bartlett | 1 | -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-05 | selftest: run smbtorture_s3 tests against the ntvfs file server | Andrew Bartlett | 1 | -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-05 | selftest: Reduce time in cleanup loop, try waitpid on all 3 children | Andrew Bartlett | 1 | -6/+12 | |
2012-03-05 | selftest: forward rpcecho to Samba4 in plugin_s4_dc | Andrew Bartlett | 1 | -1/+1 | |
2012-03-04 | selftest.target: Add NoneTarget. | Jelmer Vernooij | 1 | -0/+17 | |
2012-03-04 | selftest.target: Add Environment.get_vars. | Jelmer Vernooij | 1 | -0/+11 | |
2012-03-04 | selftest.target: Add tests for check. | Jelmer Vernooij | 1 | -2/+1 | |
2012-03-04 | selftest.target: Add tests for setup. | Jelmer Vernooij | 1 | -5/+5 | |
2012-03-04 | selftest: Add base classes for Target/Environment and their management. | Jelmer Vernooij | 1 | -0/+138 | |
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 outdated template. | Jelmer Vernooij | 1 | -47/+0 | |
2012-03-04 | selftest: Remove unused and broken target 'windows'. | Jelmer Vernooij | 1 | -40/+0 | |
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: 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: 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-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 | 1 | -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-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 | 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 | selftest: Allow setup_env() to signal that an environment name is unknown | Andrew Bartlett | 3 | -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-01 | selftest: Remove unused support for --exeext | Andrew Bartlett | 3 | -11/+7 | |
2012-01-28 | s3-selftest: Add test for posix large reads and writes | Andrew Bartlett | 1 | -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-13 | s4-selftest: Add test of RPC to a netbios alias | Andrew Bartlett | 1 | -3/+2 | |
This tries to ensure our netbios lookup code is still run. Andrew Bartlett | |||||
2011-12-12 | tdb2: don't use TDB2 versions of test tdb files. | Rusty Russell | 1 | -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-30 | selftest: Drop broken and unused Kvm target. | Jelmer Vernooij | 1 | -162/+0 | |
2011-11-29 | selftest/Samba4: pass '--machinepass' to 'samba-tool domain join' | Stefan Metzmacher | 1 | -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-17 | s4 dns: Turn on internal DNS server during testing | Kai Blin | 1 | -1/+1 | |
2011-11-15 | selftest/Samba4: allow schema updates | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-11-08 | selftest: Remove the 'all' environment as it is just too slow to start up | Andrew Bartlett | 1 | -59/+0 | |
Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett | |||||
2011-11-03 | selftest/Samba4: use "server signing = on" for now | Stefan Metzmacher | 1 | -0/+4 | |
Otherwise the smb2.compound test fails as it doesn't work with signing yet. metze | |||||
2011-10-28 | The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵ | Jeremy Allison | 2 | -0/+12 | |
cope with this. | |||||
2011-10-28 | The xcopy test requires "dos filemode=yes" as it opens with WRITE_OWNER. | Jeremy Allison | 1 | -0/+1 | |
2011-10-20 | s4-selftest: Add tests for RPC dnsserver | Amitay Isaacs | 1 | -0/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-10-18 | selftest:Samba3: fix signature for check_or_start() | Michael Adam | 1 | -1/+1 | |
2011-10-18 | selftest:Samba3: fix a message printed when starting winbindd | Michael Adam | 1 | -1/+1 | |
2011-10-12 | selftest: Fix plugin_s4_dc configuration. | Andreas Schneider | 2 | -7/+26 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 12 13:50:10 CEST 2011 on sn-devel-104 | |||||
2011-10-08 | selftest: run dfs tests on plugin_s4_dc | Stefan Metzmacher | 1 | -0/+3 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104 | |||||
2011-10-06 | selftest/Samba3: enable uid wrapper in nmbd, winbindd and smbd | Stefan Metzmacher | 1 | -0/+6 | |
metze Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 6 13:49:05 CEST 2011 on sn-devel-104 | |||||
2011-09-13 | s4-subdomain more work on sub-domain join | Andrew Bartlett | 1 | -2/+2 | |
we can now create a subdomain of an existing windows domain using: samba-tool domain join sub.domain.dns.name subdomain The ordering of the creation of the key records is quite tricky, especially for the NTDSDSA object Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> | |||||
2011-09-13 | selftest: add test for subdomain support | Andrew Bartlett | 1 | -0/+120 | |