summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
2012-12-22Recent coverity changes added directory_create_or_exist() checks to many ↵Jeremy Allison2-0/+13
directories. These may not be needed, but in the meantime - ensure "make test" works again by chmod'ing the created test directories from 0777 to 0755. Reviewed-By: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Dec 22 02:08:33 CET 2012 on sn-devel-104
2012-12-11selftest: skip the samba4.rpc.samr.passwords test in ncacn_np(dc) and ↵Michael Adam1-0/+2
s4member environments These currently fail in a corner case. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Karolin Seeger <kseeger@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Dec 11 17:56:01 CET 2012 on sn-devel-104
2012-12-03selftest:Samba3: provision the BUILTIN\Users group if the environment runs ↵Michael Adam1-0/+24
winbindd Note that in order to create a local group (alias), the id-allocator of id-mapping is needed, so this can only work if winbindd is running. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03selftest:Samba3: add "wbinfo -p" test to wait_for_start()Michael Adam1-1/+18
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03selftest:Samba3: add nmbd, winbindd smbd arguments to wait_for_start()Michael Adam1-28/+33
to make checks conditional Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03selftest:Samba3: call wait_for_start() from check_or_start()Michael Adam1-22/+9
...instead of calling the two one after another each time. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03selftest:Samba3: provision the domain adminstrators group in the s3 environmentsMichael Adam1-1/+7
I discovered that this sid / mapping is missing by working with the Sids2Uids code and test. I do even wonder why this test could succeed prior to my pending changes to the winbindd sids-to-xids code, for example against the s3:local environment, since the test tries to map the sid <domsid>-512. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-11-30s4:dsdb/acl_read: enable acl checking on search by default (bug #8620)Stefan Metzmacher2-11/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-29selftest: configure printer with default devmode = noDavid Disseldorp1-0/+1
This allows us to reproduce the segfault described in bug 9433. Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-22build: Use ntlm_auth from source3 as the only ntlm_auth installed on the systemAndrew Bartlett1-1/+1
The ntlm_auth4 binary is untested, and is missing major features compared with the source3 binary. The two are being slowly merged, but I have not finished that. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-13Revert "selftest/skip: add samba.tests.samba_tool.gpo until it's stable"Andrew Bartlett1-1/+0
This reverts commit 47bbf9886f0cebf994435a32bafa07e36cce191b. This test appears to be stable now, but the changes in the previous commit should allow the real error to be found if it comes back. As requested by metze. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Nov 13 01:45:04 CET 2012 on sn-devel-104
2012-11-06selftest/skip: add samba.tests.samba_tool.gpo until it's stableStefan Metzmacher1-0/+1
See: https://git.samba.org/autobuild.flakey/2012-11-06-0314/samba.stdout https://git.samba.org/autobuild.flakey/2012-11-06-0514/samba.stdout https://git.samba.org/autobuild.flakey/2012-11-06-0713/samba.stdout Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Nov 6 14:24:08 CET 2012 on sn-devel-104
2012-11-06selftest: check that samba-tool gpo works for basic operationsAndrew Bartlett1-1/+1
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-11-05selftest: Add skip for DIR1 test which loops on 64 bit ext4Andrew Bartlett1-0/+1
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Nov 5 00:34:56 CET 2012 on sn-devel-104
2012-10-27source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij1-0/+5
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
2012-10-27source3.selftest: Move more variables to be in common.Jelmer Vernooij1-0/+10
2012-10-27selftesthelpers: Fix detection of tap2subunit.Jelmer Vernooij1-2/+8
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
2012-10-27selftest: Add --random-order option.Jelmer Vernooij2-1/+13
2012-10-27selftesthelpers: Simplify detection of tap2subunit.Jelmer Vernooij1-4/+6
2012-10-27selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij1-1/+11
2012-10-27selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij1-12/+18
2012-10-27selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij1-0/+11
options.
2012-10-27selftest/selftesthelpers.py: Share configuration variable, strip whitespace.Jelmer Vernooij1-0/+2
2012-10-27selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij1-0/+13
2012-10-19tests: Convert find_missing_doc into a unit test.Jelmer Vernooij1-0/+1
2012-10-16selftest/knownfail: add samba3.rpc.lsa.privileges.lsa.PrivilegesStefan Metzmacher1-0/+1
This failed more than 20 times in the last few weeks, e.g. https://git.samba.org/autobuild.flakey/2012-10-16-0629/samba3.stdout https://git.samba.org/autobuild.flakey/2012-10-16-0829/samba3.stdout [530/717 in 14m32s] samba3.rpc.lsa.privileges(s3dc) Using seed 1350368974 Testing OpenPolicy Testing OpenPolicy2 Testing CreateAccount Testing Delete Testing DeleteObject Testing EnumAccounts Testing LookupSids Testing LookupNames with 7 names LookupName of sharesec_user was unmapped LookupName of Everyone failed to return a result UNEXPECTED(failure): samba3.rpc.lsa.privileges.lsa.Privileges(s3dc) REASON: _StringException: _StringException: ../source4/torture/rpc/lsa.c:319: r.out.result was STATUS_SOME_UNMAPPED, expected NT_STATUS_OK: LookupNames failed FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites) metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Oct 16 10:43:02 CEST 2012 on sn-devel-104
2012-10-12selftest: Move more tests to common list script.Jelmer Vernooij2-0/+32
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
2012-10-11selftest: Move some tests to common test script.Jelmer Vernooij1-0/+2
2012-10-11selftests.tests: Remove reference to Samba 4.Jelmer Vernooij1-4/+4
2012-10-05Ensure the masks don't conflict with the ACL checks.Jeremy Allison2-2/+4
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Oct 5 00:36:40 CEST 2012 on sn-devel-104
2012-10-03selftest: Always build a linux-style nss_winbind for nss_wrapperAndrew Bartlett3-5/+11
2012-09-30selftest: use an array when starting testenv with system()Andrew Bartlett1-3/+11
By reduing the need for escapes and forcing the use of bash, this seems to allow 'make testenv' to start on FreeBSD Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Sep 30 02:30:40 CEST 2012 on sn-devel-104
2012-09-27samba4-tests: Move 'samba.tests.source' up.Jelmer Vernooij2-1/+25
We would like to run this as early as possible so we get a quick failure when there is trailing whitespace. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 20:26:27 CEST 2012 on sn-devel-104
2012-09-26selftest/knownfail: samba*.smb2.oplock.stream1 doesn't workStefan Metzmacher1-0/+2
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 26 07:57:12 CEST 2012 on sn-devel-104
2012-09-26samba_dnsupdate: Safely update/create names for Samba3 targets as wellAndrew Bartlett1-4/+7
This avoids unlocked writes to the dns_hosts_file, and may fix some of our issues on the build farm where large numbers of tests fail due to failed name resolution. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
2012-09-26selftest: Remove invalid security=share and rename secshare to simpleserverAndrew Bartlett1-7/+6
This avoids the loadparm code failing due to the invalid smb.conf entry, and removes the very last hint of security=share! Andrew Bartlett
2012-09-25We now pass "samba3.raw.acls.generic" and "samba3.smb2.acls.GENERIC" with ↵Jeremy Allison1-3/+0
the max access change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 25 04:57:44 CEST 2012 on sn-devel-104
2012-09-22selftest: skip the samba4.smb2.compound testsuiteMichael Adam1-0/+1
Too many tests are starting but never finish. Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sat Sep 22 20:50:06 CEST 2012 on sn-devel-104
2012-09-22selftest: we fail samba3.smb2.compound.interim2Michael Adam1-0/+1
We currently return NT_STATUS_CANCELLED where we should return NT_STATUS_INTERNAL_ERROR.
2012-09-19selftest: we currently fail smb2.durable-v2-open.app-instanceMichael Adam1-0/+1
Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 19 23:05:43 CEST 2012 on sn-devel-104
2012-09-12selftest: let provision_plugin_s4_dc use SMB3Stefan Metzmacher1-1/+1
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 12 18:30:48 CEST 2012 on sn-devel-104
2012-09-12lib/param: change the default for 'allow dns updates' to 'secure only'Stefan Metzmacher1-3/+2
metze
2012-09-12selftest:Samba4: don't provision with BIND9_DLZStefan Metzmacher1-21/+34
metze
2012-09-12s4 dns: Run python tests in fl2003dc envKai Blin1-2/+2
2012-09-11selftest: we fail the smb2.durable-open.delete_on_close2 testMichael Adam1-0/+1
(we currently do not grant durable on reconnect when delete-on-close is set) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 11 16:22:20 CEST 2012 on sn-devel-104
2012-09-11selftest: pass smb2.durable-open.delete_on_close1Michael Adam1-1/+0
2012-09-11selftest: smb2.durable-open.delete_on_close1 is not flapping any moreMichael Adam1-1/+0
The entry into flapping was not effective anyways since, the test was also listed in knownfail...
2012-09-11selftest/Samba4: make use of samba-tool domain provisionStefan Metzmacher1-1/+3
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 11 10:15:23 CEST 2012 on sn-devel-104
2012-09-11samba3.smb2.durable-open.delete_on_close1 is now flapping (sometimes passes).Jeremy Allison1-0/+1
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 11 02:30:55 CEST 2012 on sn-devel-104
2012-09-08selftest/knownfail: we pass some samba3.smb2.durable-* tests nowStefan Metzmacher3-14/+11
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 23:18:39 CEST 2012 on sn-devel-104