summaryrefslogtreecommitdiffstats
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
...
* selftest: close stdin and wait with waitpid() for a safer exitAndrew Bartlett2012-03-022-2/+36
| | | | | | | This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
* selftest: Put stdin pipe on the environmentAndrew Bartlett2012-03-021-9/+8
| | | | | | This seems to help us close the right pipe at cleanup time. Andrew Bartlett
* selftest: Move manual page into a separate file.Jelmer Vernooij2012-03-022-101/+78
| | | | (Generated using pod2man from selftest.pl itself)
* selftest: Establish a registry of socket wrapper IPsAndrew Bartlett2012-03-023-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
* selftest: change plugin_dc to test using s3fsAndrew Bartlett2012-02-292-79/+9
|
* selftest: skip the troublesome samba4.rpc.unixinfo testAndrew Bartlett2012-02-291-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
* selftest: Do not run chgdcpass test on the main DCAndrew Bartlett2012-02-291-0/+46
| | | | | | | If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
* selftest: added a pipe on stdin in s3 child processesAndrew Tridgell2012-02-281-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.
* s4:selftest: skip smb2.session testsuiteMichael Adam2012-02-281-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 03:19:52 CET 2012 on sn-devel-104
* s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - ↵Michael Adam2012-02-281-1/+0
| | | | test does not exist
* selftest: up the default log level in s3Andrew Bartlett2012-02-271-1/+1
| | | | | | This may help show more detail when our tests fail. Andrew Bartlett
* selftest: Do not skip environments that fail to start upAndrew Bartlett2012-02-232-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
* selftest: Fix selftest to check ADS functionalty againAndrew Bartlett2012-02-181-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
* s3-selftest: Remove .posix_s3 from s3 test namesAndrew Bartlett2012-02-162-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
* selftest: skip plugin_s4_dc if we do not have ADSAndrew Bartlett2012-02-161-0/+5
|
* selftest: skip targets that are not compiled in if we do not have ADSAndrew Bartlett2012-02-161-0/+25
|
* s3-selftest: Require SMB signing for ktest environmentAndrew Bartlett2012-02-161-0/+1
| | | | | | This will help weed out session key errors in the krb5 code. Andrew Bartlett
* selftest: Do not start up an already-running test environmentAndrew Bartlett2012-02-162-0/+8
| | | | | | | Otherwise we may re-provision the dc just because we started it via s3member or s4member first. Andrew Bartlett
* selftest: Make plugin_s4_dc set the cached environment correctlyAndrew Bartlett2012-02-161-10/+12
|
* s4:torture: add another SMB2 rename testChristian Ambach2012-02-131-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
* selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett2012-02-134-5/+12
| | | | | | | This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
* selftest: add smb2.rename to testsuiteChristian Ambach2012-02-101-0/+10
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104
* selftest: mark posix_s3.rpc.spoolss.printer as flakey testStefan Metzmacher2012-02-101-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 10 10:04:15 CET 2012 on sn-devel-104
* build: Add --enable-coverage option to build with gcov supportAndrew Bartlett2012-02-101-0/+7
| | | | | | This allows running lcov over the output. Andrew Bartlett
* selftest: Fix the exit code of make test when run in buildfarmAmitay Isaacs2012-02-031-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
* selftest: Remove unused support for --exeextAndrew Bartlett2012-02-015-23/+11
|
* s3-selftest: Add test for posix large reads and writesAndrew Bartlett2012-01-281-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
* s3-libcli Change krb5 smb sealing to call via gensec and gensec_gseAndrew Bartlett2012-01-201-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>
* s3-selftest The krb5 encrypted CIFS test was wrongAndrew Bartlett2012-01-131-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
* selftest: Do not run symbol check if setting up testenvAmitay Isaacs2012-01-131-1/+1
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Jan 13 03:11:20 CET 2012 on sn-devel-104
* Fix the local-memcache test for 64-bitVolker Lendecke2012-01-051-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
* s3-selftest: Add test for rpcclient, including kerberos authenticationAndrew Bartlett2012-01-051-0/+9
| | | | | | | | Some knownfail entries are added for things the currently fail. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett2011-12-131-3/+2
| | | | | | This tries to ensure our netbios lookup code is still run. Andrew Bartlett
* s4-lsarpc handle more info levels in SetInfoTrustedDomain callsAndrew Bartlett2011-12-121-1/+1
| | | | | | | This uses the very helpful conversion functions written for the s3 lsa server and places these in common. Andrew Bartlett
* s4-lsarpc Fix segfaults found by the samba4.rpc.lsa.forest testAndrew Bartlett2011-12-122-1/+1
| | | | This allows us to move this test to knownfail from skip
* tdb2: don't use TDB2 versions of test tdb files.Rusty Russell2011-12-121-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
* selftest: samba4.samba-tool.domopen now passes, so do not skipAndrew Bartlett2011-12-071-1/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 7 04:42:02 CET 2011 on sn-devel-104
* s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett2011-12-071-1/+0
|
* knownfail: Mark some ldap.acl search tests as no longer failing.Jelmer Vernooij2011-12-061-1/+7
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 00:43:40 CET 2011 on sn-devel-104
* knownfail: Remove working winbind tests.Jelmer Vernooij2011-12-051-4/+0
|
* knownfail: The resolve async tests work now.Jelmer Vernooij2011-12-051-1/+0
|
* knownfail: remove now succeeding local.iconv test.Jelmer Vernooij2011-12-051-1/+0
|
* knownfail: remove base.maximum_allowed test, as it appears to be passing now.Jelmer Vernooij2011-12-051-1/+0
|
* knownfail: re-add createx test.Jelmer Vernooij2011-12-051-0/+1
|
* knownfail: Exclude specific list of SMB2 oplock tests.Jelmer Vernooij2011-12-051-1/+15
|
* knownfail: Remove smb2.compound tests, they pass now.Jelmer Vernooij2011-12-051-3/+0
|
* Remove samba4.raw.oplock.brl4. Bug 7928 has been fixed.Jelmer Vernooij2011-12-051-1/+0
|
* knownfail: Match on end-of-file, not end-of-file-access.Jelmer Vernooij2011-12-051-1/+1
|
* knownfail: samba4.base.createx_access.createx_access works.Jelmer Vernooij2011-12-051-1/+0
|
* knownfail: LogonControl2Ex works.Jelmer Vernooij2011-12-051-2/+2
|