selftest: Reduce time in cleanup loop, try waitpid on all 3 children
selftest: Rework Samba3.pm process termination 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: Fix waitpid termination test
selftest: close stdin and wait with waitpid() for a safer exit This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
selftest: Establish a registry of socket wrapper IPs 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 s3fs
selftest: added a pipe on stdin in s3 child processes 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.
selftest: up the default log level in s3 This may help show more detail when our tests fail. Andrew Bartlett
selftest: Fix selftest to check ADS functionalty again 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
selftest: skip targets that are not compiled in if we do not have ADS
s3-selftest: Require SMB signing for ktest environment This will help weed out session key errors in the krb5 code. Andrew Bartlett
selftest: Do not start up an already-running test environment Otherwise we may re-provision the dc just because we started it via s3member or s4member first. Andrew Bartlett
selftest: Allow setup_env() to signal that an environment name is unknown This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
selftest: Remove unused support for --exeext
s3-selftest: Add test for posix large reads and writes 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
tdb2: don't use TDB2 versions of test tdb files. 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
The xcopy test is used in unusual ways (via a different uid). Ensure we can cope with this.
The xcopy test requires "dos filemode=yes" as it opens with WRITE_OWNER.
selftest:Samba3: fix signature for check_or_start()
selftest:Samba3: fix a message printed when starting winbindd