summaryrefslogtreecommitdiffstats
path: root/source3/selftest
Commit message (Collapse)AuthorAgeFilesLines
* messaging3: remove msg_channelVolker Lendecke2014-01-211-1/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* selftest: add new credential change testGarming Sam2013-12-231-0/+3
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: add new rpc client testGarming Sam2013-12-231-0/+2
| | | | | | | | | Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest: Run smb2.lock tests also against AIO shareChristof Schmitt2013-12-051-0/+4
| | | | | Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture3: Reproducer for bug 10284Volker Lendecke2013-11-261-0/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Nov 26 22:53:04 CET 2013 on sn-devel-104
* selftest/s3: run smb2.ioctl against FS specific shareDavid Disseldorp2013-11-221-0/+4
| | | | | | | | Run the smb2.ioctl tests against the filesystem specific share. This adds ~12s to the selftest runtime on my SSD+Btrfs setup. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture3: Trigger a nasty cleanup bug in smbdVolker Lendecke2013-09-031-0/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 3 19:13:14 CEST 2013 on sn-devel-104
* torture: add LOCAL-sid_to_string testcaseJeff Layton2013-07-311-0/+1
| | | | | Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* Remove now-unused s3-selftest.sh wrapperAndrew Bartlett2013-05-281-54/+0
| | | | | | | | | | This is now always invokes via waf. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* s4-smbtorture: Run tests for nfs4:modes simple and special.Alexander Werth2013-05-091-1/+2
| | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* selftest: Run raw.acls test against the nfs4acl_xattr moduleAndrew Bartlett2013-05-091-0/+4
| | | | | | | | | | This is the first time we have tested the NFSv4 ACL mapping code. Sadly most tests fail but these can be fixed from here. This at least shows that the code does not segfault. Andrew Bartlett Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:selftest: Add LARGE_READX test into our make test infrastructure.Jeremy Allison2013-03-201-1/+1
| | | | | | | Tested against non-encrypted and encrypted connections. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* vfs_catia: testcase - add missing piecesGuenter Kukkukk2013-03-121-0/+1
| | | | | | | | Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Tue Mar 12 07:36:13 CET 2013 on sn-devel-104
* Add testcase for idmap_rfc2307 moduleChristof Schmitt2013-03-091-1/+5
| | | | | | | | | | | Create a new test environment with 'idmap config DOMAIN : backend = rfc2307'. A new test script adds LDAP records and queries them again for the mapped uid and gid. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 9 08:18:43 CET 2013 on sn-devel-104
* 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