summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
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: Move manual page into a separate file.Jelmer Vernooij2-101/+78
(Generated using pod2man from selftest.pl itself)
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: skip the troublesome samba4.rpc.unixinfo testAndrew Bartlett1-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
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-28s4:selftest: skip smb2.session testsuiteMichael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 03:19:52 CET 2012 on sn-devel-104
2012-02-28s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - ↵Michael Adam1-1/+0
test does not exist
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 Bartlett2-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
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-16s3-selftest: Remove .posix_s3 from s3 test namesAndrew Bartlett2-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
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-13s4:torture: add another SMB2 rename testChristian Ambach1-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
2012-02-13selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett4-5/+12
This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
2012-02-10selftest: add smb2.rename to testsuiteChristian Ambach1-0/+10
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104
2012-02-10selftest: mark posix_s3.rpc.spoolss.printer as flakey testStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 10 10:04:15 CET 2012 on sn-devel-104
2012-02-10build: Add --enable-coverage option to build with gcov supportAndrew Bartlett1-0/+7
This allows running lcov over the output. Andrew Bartlett
2012-02-03selftest: Fix the exit code of make test when run in buildfarmAmitay Isaacs1-0/+2
When make test is run in buildfarm environment (RUN_FROM_BUILD_FARM=1), last process in make test pipeline is subunit-filter. This subunit-filter is responsible for converting failure test result to xfail for known failures. While converting failures to xfail, it sets exitcode=1. If this is the last process in the pipeline make test fails, which is the observed behavior in buildfarm. In autobuild, there is additional process in the pipeline format-subunit which processes the output of subunit-filter and correctly terminates with exit code=0. The buildfarm make test failure is fixed by adding extra filter-subunit in the pipeline, as the extra filter-subunit exits correctly with exit code=0. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Feb 3 07:00:04 CET 2012 on sn-devel-104
2012-02-01selftest: Remove unused support for --exeextAndrew Bartlett5-23/+11
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
2012-01-20s3-libcli Change krb5 smb sealing to call via gensec and gensec_gseAndrew Bartlett1-3/+0
This also fixes the support for smb sealing with krb5 in make test, as this now relies on secrets.tdb rather than /etc/krb5.keytab. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-13s3-selftest The krb5 encrypted CIFS test was wrongAndrew Bartlett1-0/+3
Sadly this fails in the test environement for now. It needs a /etc/krb5.keytab which we do not provide. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jan 13 04:57:22 CET 2012 on sn-devel-104
2012-01-13selftest: Do not run symbol check if setting up testenvAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Jan 13 03:11:20 CET 2012 on sn-devel-104
2012-01-05Fix the local-memcache test for 64-bitVolker Lendecke1-1/+0
The memcache test walks the purge functionality. The maximum memcache size also takes all memcache internal headers into account. Those headers contain pointers, so on 64-bit they take more space... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 22:01:00 CET 2012 on sn-devel-104
2012-01-05s3-selftest: Add test for rpcclient, including kerberos authenticationAndrew Bartlett1-0/+9
Some knownfail entries are added for things the currently fail. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
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-12s4-lsarpc handle more info levels in SetInfoTrustedDomain callsAndrew Bartlett1-1/+1
This uses the very helpful conversion functions written for the s3 lsa server and places these in common. Andrew Bartlett
2011-12-12s4-lsarpc Fix segfaults found by the samba4.rpc.lsa.forest testAndrew Bartlett2-1/+1
This allows us to move this test to knownfail from skip
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-12-07selftest: samba4.samba-tool.domopen now passes, so do not skipAndrew Bartlett1-1/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 7 04:42:02 CET 2011 on sn-devel-104
2011-12-07s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett1-1/+0
2011-12-06knownfail: Mark some ldap.acl search tests as no longer failing.Jelmer Vernooij1-1/+7
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 00:43:40 CET 2011 on sn-devel-104
2011-12-05knownfail: Remove working winbind tests.Jelmer Vernooij1-4/+0
2011-12-05knownfail: The resolve async tests work now.Jelmer Vernooij1-1/+0
2011-12-05knownfail: remove now succeeding local.iconv test.Jelmer Vernooij1-1/+0
2011-12-05knownfail: remove base.maximum_allowed test, as it appears to be passing now.Jelmer Vernooij1-1/+0
2011-12-05knownfail: re-add createx test.Jelmer Vernooij1-0/+1
2011-12-05knownfail: Exclude specific list of SMB2 oplock tests.Jelmer Vernooij1-1/+15
2011-12-05knownfail: Remove smb2.compound tests, they pass now.Jelmer Vernooij1-3/+0
2011-12-05Remove samba4.raw.oplock.brl4. Bug 7928 has been fixed.Jelmer Vernooij1-1/+0
2011-12-05knownfail: Match on end-of-file, not end-of-file-access.Jelmer Vernooij1-1/+1
2011-12-05knownfail: samba4.base.createx_access.createx_access works.Jelmer Vernooij1-1/+0
2011-12-05knownfail: LogonControl2Ex works.Jelmer Vernooij1-2/+2