summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
2013-01-21Tests: avoid adding python options that are functions in the envMatthieu Patou1-1/+6
This fix errors when running test --testenv --screen Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-01-17dsdb: Do not hold the transaction over the IRPC call to perform a role transferAndrew Bartlett1-1/+0
This avoids one samba process locking out another from the DB. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-17selftest: also skip raw.search as it also spinsAndrew Bartlett1-0/+1
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-16torture: skip FSCTL_SRV_ENUM_SNAPS test when not supportedDavid Disseldorp1-1/+0
If FSCTL_SRV_ENUM_SNAPS fails with NT_STATUS_NOT_SUPPORTED then skip the test, this means we can run the full ioctl test suite as part of autobuild. Reviewed by: Jeremy Allison <jra@samba.org>
2013-01-16selftest: enable samba3.smb2.ioctl tests against s3fsDavid Disseldorp1-7/+2
These tests are now expected to pass with copy-chunk support now implemented. This effectively reverts 632b1042aed94a71d810613fcdbbfecf615a25fa. Reviewed by: Jeremy Allison <jra@samba.org>
2013-01-12selftest: skip base.dir2 tests as they just spin on modern ext4Andrew Bartlett1-0/+1
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-10selftest: Add test for rfc2307 mapping handlingAndrew Bartlett2-2/+11
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-09selftest: show that Samba honours "write list" and valid usersAndrew Bartlett1-0/+7
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-01selftest/flapping: more samba4.rpc.samr.large-dc.two subtests are flakeyStefan Metzmacher1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jan 1 18:47:42 CET 2013 on sn-devel-104
2012-12-27selftest/flapping: mark samba4.rpc.samr.large-dc.two as knownfailStefan Metzmacher1-0/+1
This is really flakey lately: https://git.samba.org/autobuild.flakey/2012-12-27-1533/samba.stdout ... https://git.samba.org/autobuild.flakey/2012-12-10-2338/samba.stdout ... https://git.samba.org/autobuild.flakey/2012-12-09-0135/samba.stdout ... https://git.samba.org/autobuild.flakey/2012-12-06-0333/samba.stdout ... https://git.samba.org/autobuild.flakey/2012-12-05-0731/samba.stdout ... https://git.samba.org/autobuild.flakey/2012-12-03-0334/samba.stdout ... https://git.samba.org/autobuild.flakey/2012-12-02-1532/samba.stdout Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Dec 27 17:36:07 CET 2012 on sn-devel-104
2012-12-26selftest.pl: Fix typo 'snprintf' -> 'sprintf'.Jelmer Vernooij1-1/+1
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Dec 26 22:35:12 CET 2012 on sn-devel-104
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.