summaryrefslogtreecommitdiffstats
path: root/source3/selftest
Commit message (Collapse)AuthorAgeFilesLines
* s3:selftest: generate ${SELFTESTPREFIX}/subunit with the raw outputStefan Metzmacher2013-02-201-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Feb 20 01:33:50 CET 2013 on sn-devel-104
* selftest: show that Samba honours "write list" and valid usersAndrew Bartlett2013-01-091-0/+5
| | | | | Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3-selftest: make sure to test rpc.samr.passwords.validate over ncacn_ip_tcp.Günther Deschner2012-12-121-1/+4
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build: Be consistent with the name of smbtorture binariesAndrew Bartlett2012-11-221-2/+2
| | | | | | | | | | | | | | This ensures that in both build systems, smbtorture3 is the source3 binary, and smbtoture is our main smbtorture binary, built with waf. Also included in this is the removal of bin/ndrdump4 as a special case. This removes the last cases of binaries with different names in each build system. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
* Add regression test for bug #9329 - Directory listing with SeBackup can ↵Jeremy Allison2012-10-311-5/+5
| | | | | | | | | | | | crash smbd. Ensure we exercise the SeBackup code path on directory listings. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Oct 31 03:21:38 CET 2012 on sn-devel-104
* source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij2012-10-271-10/+4
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
* source3.selftest: Move more variables to be in common.Jelmer Vernooij2012-10-271-6/+1
|
* source3.selftests.tests: Use common plansmbtorture4testsuite() function.Jelmer Vernooij2012-10-271-56/+50
|
* source3.selftest.tests: Add suffix for smbclient3/ntlm_auth3.Jelmer Vernooij2012-10-271-23/+23
|
* source3.selftest.tests: Remove tabs.Jelmer Vernooij2012-10-271-18/+18
|
* selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij2012-10-271-4/+1
|
* selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij2012-10-271-1/+1
|
* selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij2012-10-271-8/+7
| | | | options.
* selftest/selftesthelpers.py: Share configuration variable, strip whitespace.Jelmer Vernooij2012-10-271-24/+18
|
* selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij2012-10-271-12/+6
|
* Add samba3.samba3badnameblob test to check regressions in bug #9215.Jeremy Allison2012-10-011-1/+1
| | | | | | | Bad name in SMB1 openX can cause a crash in iconv inside glibc. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Oct 1 23:29:25 CEST 2012 on sn-devel-104
* selftest: Remove invalid security=share and rename secshare to simpleserverAndrew Bartlett2012-09-261-3/+3
| | | | | | | This avoids the loadparm code failing due to the invalid smb.conf entry, and removes the very last hint of security=share! Andrew Bartlett
* s3: Run raw.oplockVolker Lendecke2012-09-101-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* selftest/knownfail: we pass some samba3.smb2.durable-* tests nowStefan Metzmacher2012-09-081-0/+3
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 23:18:39 CEST 2012 on sn-devel-104
* s4-torture: Add start of a test to confirm winbindd PAC parsingAndrew Bartlett2012-08-291-1/+3
| | | | | | | So far this confirms that we can accept a ticket using the secrets.tdb entry. Andrew Bartlett
* selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett2012-08-281-0/+3
| | | | | | This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
* selftest: Add tests for vfs_aio_forkAndrew Bartlett2012-08-211-0/+4
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 13:12:33 CEST 2012 on sn-devel-104
* s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher2012-08-171-2/+7
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
* s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett2012-08-161-1/+1
| | | | | | | | | | | This does not check for consistency or correctness yet, that will be done with python unit tests. The purpose of this test is to ensure that the vfstest wrapper doesn't crash. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 09:32:25 CEST 2012 on sn-devel-104
* s3-selftest: convert xattr-tdb-1 vfstest driver into a subunit testAndrew Bartlett2012-08-161-0/+2
| | | | | | | | | | | We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 02:55:19 CEST 2012 on sn-devel-104
* s3-selftest: convert stream_depot vfstest driver into a subunit testAndrew Bartlett2012-08-161-0/+3
| | | | | | | | | | This gives us our first automated coverage of the vfstest binary. We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett
* s3-selftest: Add smbclient tarmode testSalvador I. Gonzalez2012-08-141-1/+4
| | | | | | (With small changes to have test complete by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Run unix.whomai against the machine acccount as wellAndrew Bartlett2012-07-191-0/+2
| | | | | | This shows that the machine account got an extra SID in the token for domain users. Andrew Bartlett
* s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett2012-07-191-5/+7
| | | | | | | | | | | This compares only the domain SIDs betwen the two servers, rather than the full token, as well known and other SIDs may be added locally in both cases. This also expands the test environments this is run against to verify this between our AD server and domain members. Andrew Bartlett
* s3-selftest: Run lsa tests over np and tcpip.Andreas Schneider2012-07-061-0/+5
|
* s3:selftest: run SMB2-SESSION-RECONNECTStefan Metzmacher2012-06-251-1/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 25 22:42:03 CEST 2012 on sn-devel-104
* s3:selftest: run raw.sessionStefan Metzmacher2012-06-251-2/+2
| | | | | | | | | | | | Note: raw.session.reauth2 still fails: failure: samba3.raw.session.reauth2(s3dc) [ _StringException: _StringException: ../source4/torture/raw/session.c:186: status was NT_STATUS_ACCESS_DENIED, expected NT_STATUS_OK: 2nd open failed But it's not critical as real clients won't reauth as anonymous. metze
* s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2Stefan Metzmacher2012-06-251-0/+1
| | | | metze
* s3:selftest: run smbtorture3 SMB2-SESSION-REAUTHStefan Metzmacher2012-06-251-0/+1
| | | | metze
* s3:selftest: run smb2.session as ntlm and krb5Stefan Metzmacher2012-06-251-0/+4
| | | | | | This activates the smb2.session.expire1 test, when krb5 is used. metze
* selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett2012-06-241-2/+5
| | | | | | | | This also tests the comparison with LDAP on anonymous connections and marks this as knownfail, while we investigate the correct behaviour here. Andrew Bartlett
* s4-torture: Expand whoami test to confirm the user token.Andrew Bartlett2012-06-201-1/+1
| | | | | | | | | | | | | This uses the tokenGroups attribute on LDAP and the posix whoami call to confirm that user token matches between LDAP and CIFS. I have a seperate patch for the anonymous case, because this isn't consistent at this stage, and we need to study and fix that. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 20 18:43:43 CEST 2012 on sn-devel-104
* Tests for bug #8972 - run the POSIX tests against the posix_share.Jeremy Allison2012-06-051-2/+8
|
* s3:selftest: add a binary mapping for smbclient4Michael Adam2012-05-311-2/+2
|
* s3:selftest: add a binary mapping for nmblookup4Michael Adam2012-05-311-2/+2
|
* s3:selftest: improve strange linebreaks for blackbox tests in tests.py for ↵Michael Adam2012-05-311-22/+31
| | | | readability
* s3:selftest: introduce a variable for binpath('dbwrap_tool') in tests.pyMichael Adam2012-05-311-2/+3
|
* s3:selftest: introduce a variable for binpath('ntlm_auth3') in tests.pyMichael Adam2012-05-311-4/+5
|
* s3:selftest: introduce a variable for binpath('smbtorture3') in tests.pyMichael Adam2012-05-311-4/+5
|
* s3:selftest: introduce a variable for binpath('net') in tests.pyMichael Adam2012-05-311-9/+10
|
* s3:selftest: introduce a variable for binpath('wbinfo') in tests.pyMichael Adam2012-05-311-5/+6
| | | | to remove explicit calls to binpath('wbinfo')
* s3:selftest: introduce a variable for binpath('smbclient3') to test.pyMichael Adam2012-05-311-15/+17
| | | | to remove manual calls to binpath("smbclient3")
* s3:selftest: run rpc.samba3.smb[1|2]-pipe-nameStefan Metzmacher2012-05-281-0/+1
| | | | metze
* s3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environmentStefan Metzmacher2012-05-251-0/+4
| | | | | | | | | metze Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 25 20:09:15 CEST 2012 on sn-devel-104
* Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison2012-05-221-1/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104