summaryrefslogtreecommitdiffstats
path: root/source3/script/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* vfs_catia: testcase - add missing piecesGuenter Kukkukk2013-03-121-5/+11
| | | | | | | | 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
* vfs_catia: testcase - implement vfstest additionsGuenter Kukkukk2013-03-113-0/+100
| | | | | Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
* Regression test for bug #9587 - archive flag is always set on directories.Jeremy Allison2013-01-251-0/+186
| | | | | | | | | | | Ensure we get the correct attributes on files and directories after a rename. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Jan 25 13:42:40 CET 2013 on sn-devel-104
* test: dbwrap_tool requires --persistent for the registry nowVolker Lendecke2013-01-152-2/+2
| | | | | | | Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jan 15 16:31:35 CET 2013 on sn-devel-104
* selftest: show that Samba honours "write list" and valid usersAndrew Bartlett2013-01-092-2/+10
| | | | | Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:selftest: extend sids2xids test script to cope with "ID_TYPE_BOTH mappingsMichael Adam2012-12-031-1/+1
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Dec 3 10:47:17 CET 2012 on sn-devel-104
* s3:test:wbinfo_sids2xids: test the results with singular calls with filled ↵Michael Adam2012-12-032-11/+29
| | | | | | | and with empty cache Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:test: fix intialization of WBINFO in test_wbinfo_sids2xids.shMichael Adam2012-12-031-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Add regression test for bug #9329 - Directory listing with SeBackup can ↵Jeremy Allison2012-10-311-3/+59
| | | | | | | | | | | | 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
* selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett2012-08-281-0/+21
| | | | | | This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
* s3-torture: Allow vfstest to set ACLs on a directoryAndrew Bartlett2012-08-171-0/+9
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 02:35:49 CEST 2012 on sn-devel-104
* s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett2012-08-162-0/+58
| | | | | | | | | | | 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
* selftest: Extend xattr-tdb-1 vfstest to call statAndrew Bartlett2012-08-161-0/+1
|
* s3-selftest: convert xattr-tdb-1 vfstest driver into a subunit testAndrew Bartlett2012-08-162-10/+50
| | | | | | | | | | | 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-162-10/+32
| | | | | | | | | | 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-0/+181
| | | | | | (With small changes to have test complete by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-selftest: Fix copy/paste error in test usage stringSalvador I. Gonzalez2012-08-141-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:test_net_registry_check.sh: grep -E isn't portable, use egrepBjörn Jacke2012-06-271-1/+1
| | | | | | | grep -E doesn't work on Solaris /usr/bin/grep e.g. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 27 02:18:07 CEST 2012 on sn-devel-104
* s3:test_registry_upgrade: make more portable and eliminate "local" keywordBjörn Jacke2012-06-261-6/+6
| | | | prefer to use function syntax with (...) to make variables local
* s3:test_net_registry_check: eliminate "local" keyword in shellBjörn Jacke2012-06-261-15/+15
| | | | | | | prefer to use function syntax with (...) to make variables local Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Jun 26 00:32:11 CEST 2012 on sn-devel-104
* s3:test: make shell code more porable by elimnating "local" keywordBjörn Jacke2012-06-251-4/+4
| | | | | | | don't use "local". That is BASH only. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Jun 25 19:02:13 CEST 2012 on sn-devel-104
* s3/test: make dd call more portableBjörn Jacke2012-06-101-1/+1
| | | | | | | using multiplicative suffixes like K, M etc. in dd isn't portable Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Jun 10 23:29:42 CEST 2012 on sn-devel-104
* s3-selftest: introduce new net registry check checkBjörn Baumbach2012-03-221-0/+146
| | | | | | | Add a new check which checks for defects in the net registry check tool. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-selftest: Add tests for ntlm_auth gss-spnego client and serverAndrew Bartlett2012-03-021-0/+31
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 07:05:44 CET 2012 on sn-devel-104
* s3-selftest: Add more tests for ntlm_authAndrew Bartlett2012-03-011-0/+3
|
* s3-selftest: run ntlm_auth against winbindd in make testAndrew Bartlett2012-02-241-2/+6
|
* s3-selftest: Add test for ntlm_auth --diagnosticsAndrew Bartlett2012-02-201-0/+23
|
* s3: Test for faulty xattr_tdb listxattrVolker Lendecke2012-02-023-0/+17
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 22:10:49 CET 2012 on sn-devel-104
* s3: Move stream_depot test to script/testsVolker Lendecke2012-02-023-0/+19
|
* s3-selftest: Add test for posix large reads and writesAndrew Bartlett2012-01-281-0/+62
| | | | | | | | | | | 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-selftest: Add test for smbclient kerberos supportAndrew Bartlett2012-01-091-0/+21
|
* s3-selftest: Add test for rpcclient, including kerberos authenticationAndrew Bartlett2012-01-051-0/+19
| | | | | | | | Some knownfail entries are added for things the currently fail. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:selftest: improve logging in the registry upgrade testMichael Adam2011-11-041-27/+46
| | | | | | | | Don't only log to the log file. Give "make test" a cance to grab some output. And add some more messages. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Nov 4 01:58:20 CET 2011 on sn-devel-104
* s3-selftest: introduce registry upgrade testBjörn Baumbach2011-11-041-0/+176
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-selftest use a more portable shell syntaxAndrew Bartlett2011-09-131-10/+10
| | | | | | | | | | | "$10" evaulates to $1 and 0, not the 10th argument. Thanks to Amitay for pointing this out! Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 13 09:34:49 CEST 2011 on sn-devel-104
* s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scriptsAndrew Bartlett2011-09-125-15/+20
| | | | | | | This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
* s3-test: Added new testsuites for test net [rpc] confVicentiu Ciorbaru2011-08-221-0/+970
| | | | | | | | The script tests all commands present in the net conf tool. It is also possible to provide a fourth command line parameter 'rpc' in order to run the tests with the use of rpc. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-test: Enhanced the net registry roundtrip test scriptVicentiu Ciorbaru2011-08-221-13/+14
| | | | | | | The script now supports an rpc mode, which is triggered by the presence of a fourth command line parameter "rpc" Signed-off-by: Michael Adam <obnox@samba.org>
* selftest: explain how the message command test worksAndrew Bartlett2011-07-291-0/+1
|
* s3:test: catch more errors in test_access_check() in the smbclient_s3 testMichael Adam2011-07-061-0/+16
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
* s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids testMichael Adam2011-06-251-1/+1
| | | | | | | "/usr/bin/env pyhton" should always work as long as pyhton is in the path. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Jun 25 01:07:15 CEST 2011 on sn-devel-104
* s3:test: fix the smbclient_s3 test on older systemsMichael Adam2011-06-241-1/+1
| | | | mktemp requires precisely six Xs at the end of the template name
* s3:test: fix the net registry roundtrip test on older systemsMichael Adam2011-06-241-1/+1
| | | | mktemp requires exactly Xs at the end of the template name on SLES8
* s3-selftest Remove unused gdb_backtraceAndrew Bartlett2011-06-241-87/+0
| | | | | | The version in selftest/ has more features and is the one used by 'make test'. Andrew Bartlett
* s3-selftest Add test for smbclient --authentication-fileAndrew Bartlett2011-06-091-8/+50
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jun 9 13:49:59 CEST 2011 on sn-devel-104
* s3-selftest Add a test for 'message command'Andrew Bartlett2011-06-091-0/+48
| | | | | | | This also provides us a way to test that the -n option to smbclient works, as that becomes part of the filename. Andrew Bartlett
* s3-test Make samba3.blackbox.net.local.registry.roundtrip reliableAndrew Bartlett2011-04-271-2/+2
| | | | | | | | | | | | | | Looking for smb.conf files with find -name \*.conf would find and not find all sorts of things that were just not valid inputs. When restricted to under source3 it then finds no inputs in the top level build, as it only worked on the generated smb.conf files from 'make test' environments. Instead, just run it on the one file we know is valid, and if we want to run it on more files, then we can make this test run against more environments, or specific target files. Andrew Bartlett
* s3: Some build farm machines do not have /bin/trueVolker Lendecke2011-04-251-4/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
* s3: Run pthreadpooltest in make testVolker Lendecke2011-04-251-0/+17
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
* selftest Add binary mappings for samba3 selftestAndrew Bartlett2011-04-164-13/+17
| | | | | | | | | This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett