summaryrefslogtreecommitdiffstats
path: root/source3/script/tests
Commit message (Collapse)AuthorAgeFilesLines
* s3-nsswitch: fix make test_wbpad.Günther Deschner2009-04-141-1/+1
| | | | Guenther
* s3-selftest: enable the RPC-NTSVCS torture test against Samba3.Günther Deschner2009-04-101-1/+1
| | | | Guenther
* s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself.Günther Deschner2009-04-081-1/+1
| | | | Guenther
* s3-selftest: add root for make test as well (not only make selftest).Günther Deschner2009-04-081-0/+1
| | | | Guenther
* s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test.Günther Deschner2009-04-081-0/+1
| | | | Guenther
* Re-add the CHAIN1 testVolker Lendecke2009-04-061-1/+1
|
* Remove the CHAIN1 test -- will come back laterVolker Lendecke2009-04-061-1/+1
|
* Use the server config file for smbpasswd -a user in make testVolker Lendecke2009-04-051-1/+1
| | | | | | | | | | | | | Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID somehow ended up in the user's token for quite a number of tests, leading to NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but with this patch I could not reproduce the ACCESS_DENIED anymore. It might be coincidence and this patch does not fix anything, but for me it does not really hurt either. Metze, please check! Volker
* Revert 757d403dfff023fdb122a155f6a05d33daa76410 - moduleJeremy Allison2009-03-261-1/+1
| | | | | order shouldn't matter & I have a more correct fix for this. Jeremy.
* This should fix the build farm RAW-STREAMS failure. streams_depot.soJeremy Allison2009-03-261-1/+1
| | | | | depends on xattrs, and xattr_tdb was pushed *first* in the stack... Jeremy.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-03-091-1/+1
|\
| * s3:make_test: run CHAIN1 testStefan Metzmacher2009-03-061-1/+1
| | | | | | | | metze
* | use LIB_PATH_VAR in selftest.sh if we have itBjörn Jacke2009-03-091-6/+7
|/ | | | | | | if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively complain about not having it and use the most likely LD_LIBRARY_PATH. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s3:selftest: create BUILTIN\\Administrators at startup"Stefan Metzmacher2009-02-032-12/+10
| | | | | | | | | This reverts commit a849183f9492d09ccd7e273f955d4d8f2668fdf3. This is to racy for most of the build-farm machines, because winbindd doesn't start fast enough. metze
* Revert "s3:test: try to find why creating BUILTIN\Administrators doesn't ↵Stefan Metzmacher2009-02-031-5/+3
| | | | | | | | | | work in the build-farm" This reverts commit 20a1cb15699c781651593c68685ece91c03e6a18. I will also revert a849183f9492d09ccd7e273f955d4d8f2668fdf3 metze
* s3:test: try to find why creating BUILTIN\Administrators doesn't work in the ↵Stefan Metzmacher2009-02-031-3/+5
| | | | | | build-farm metze
* s3:tests: add a guard arround . $incdir/test_functions.shStefan Metzmacher2009-01-3011-0/+21
| | | | | | So that caller can overwrite the functions. metze
* s3:seltest: make test_smbclient_s3.sh more strictStefan Metzmacher2009-01-293-15/+34
| | | | metze
* selftest: abstract Samba3 provision a bitStefan Metzmacher2009-01-281-1/+1
| | | | metze
* s3:selftest: create BUILTIN\\Administrators at startupStefan Metzmacher2009-01-282-10/+12
| | | | | | | And add and remove the alias member via net rpc group instead of net sam. metze
* s3:test: exit the net rpc registry tests when give_administrative_rights failsMichael Adam2009-01-281-2/+5
| | | | Michael
* s3:selftest: fix warnings with empty *_TEST_LOG variablesStefan Metzmacher2009-01-281-3/+3
| | | | metze
* Move S3 specific parameters to S3 conf file in make test.Steven Danneman2009-01-271-2/+3
|
* s3 make test: Fix a bug in the previous commitTim Prouty2009-01-261-7/+8
| | | | Luckily the build farm caught this
* s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty2009-01-261-11/+44
| | | | | | | | | | - Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters
* Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2009-01-121-0/+2
| | | | | | If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
* Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3)Jelmer Vernooij2009-01-081-0/+1
|
* Enable individual smbtorture_s3 subtests in make testVolker Lendecke2008-12-311-0/+4
|
* Set right LD_LIBRARY_PATH for finding Samba4's libraries.Jelmer Vernooij2008-12-221-8/+8
|
* s3:selftest: test the streams_depot module as it passes make testStefan Metzmacher2008-12-011-1/+1
| | | | | | The streams_xattr module only passes sometimes on my laptop. metze
* s3: Add support for make test to use a share dir outside of the prefix dirTim Prouty2008-11-111-7/+21
| | | | | | | | | | | | | Some systems need to have the tdbs (and other files required for samba to run) on a different filesystem than the share directory that samba is exporting. This patch: - Adds an optional "shrdir" argument to selftest.sh - If shrdir is specified it will be used, otherwise the default will be used: "<prefix>/tmp" - Adds a new configure option: --with-selftest-shrdir - Plumbs shrdir through Makefile.in and configure.in
* [s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.Michael Adam2008-10-271-1/+1
| | | | | | Use whole argument string in test_one_global_option(), not only first. Michael
* build: add "make test_wbpad" for checking winbind 32/64bit structure padding.Günther Deschner2008-10-091-0/+82
| | | | Guenther
* Fix location of nss_wrapper.pl script.Jelmer Vernooij2008-09-181-3/+3
|
* testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.Michael Adam2008-07-211-0/+2
| | | | | Michael (This used to be commit 25cd227aaecf91dfa3114ae0fd2b47c783434aad)
* testsuite: fix another expr syntax error. in tests_all.sh.Michael Adam2008-07-211-1/+1
| | | | | Michael (This used to be commit 486b1bc5b5021565ec443fd463c8287c02c686b3)
* testsuite: fix expr syntax error in net registry test.Michael Adam2008-07-201-1/+1
| | | | | | | Pointed out by Björn Jacke <bj@sernet.de>. Michael (This used to be commit 87e02bca04cb26d0d237f3ccd17be0ba2dd6d85f)
* testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam2008-07-151-1/+1
| | | | | | | | | | as suggested by Karolin. That is what it really means. And per-share logic tests will be disabled by the same switch, too... Michael (This used to be commit 5b8a4c33482917a1ef7071df224957ba831d853a)
* testsuite: fix bug #5594 by using the new --skip-global-ckecks switchMichael Adam2008-07-151-1/+1
| | | | | Michael (This used to be commit 32f4b1443af12026c419684be45a7d8b96ccfaac)
* testsuite: fix another expr typo in net registry test script.Michael Adam2008-07-091-1/+1
| | | | | Michael (This used to be commit 73312e4e21b6d14363bd0987e0c9716c4ec91834)
* testsuite: fix expr typo in net registry testscript.Michael Adam2008-07-091-1/+1
| | | | | Michael (This used to be commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae)
* testsuite: enable the testparm_s3 tests.Michael Adam2008-06-191-0/+7
| | | | | Michael (This used to be commit 0f5c13e5735990f4325f98156a7dc410276372fe)
* testsuite: add a testparm_s3 test script.Michael Adam2008-06-191-0/+90
| | | | | | | | | | | | | | | | This is a first testparm/lp_load test that runs testparm on a couple of configuration files. The main purpose for now is to test the options that have special handlers (to check whether the handlers succeed). In particular, all the Macro expansions that are available via alloc_sub_basic() are tested with the include handler. This is to catch such crashbugs as #5548 where %m expansion led to a segfault. The tests now are very simple. Just check if testparm completes successfully on the given config files. This can (and should) be elaborated in the future. Michael (This used to be commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a)
* testsuite: update introductory comment to test_net_regsistry.shMichael Adam2008-06-191-1/+2
| | | | | | | | This is now used to test rpc and local access depending on command line parameters. Michael (This used to be commit 73c17b630317b5019e5d5f2b989b8de081a73e07)
* Fix typoVolker Lendecke2008-06-191-1/+1
| | | | (This used to be commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8)
* testsuite: give admin rights to testuser only for the "net rpc registry" test.Michael Adam2008-06-171-0/+41
| | | | | | | | | Remove the user from BUILTIN\Administrators at the end of the tests. Note: BUILTIN\Administrators is not deletet at the end because that functionality is not implemented. Michael (This used to be commit 1734f9305a38eff05f0147d9c7391ef34085e7b2)
* testsuite: don't give the testuser administrative rights globally.Michael Adam2008-06-171-9/+0
| | | | | | | | | It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite understood yet. Somhow loosing rights fails when the user belogns to BUILTIN\Administrators at some point. Michael (This used to be commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521)
* tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.Karolin Seeger2008-05-131-1/+4
| | | | | | | Improve error message if no SMB4TORTURE is available. Karolin (This used to be commit 443691eb2614919043406f94e9c71b49230612d5)
* testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.Michael Adam2008-05-071-0/+4
| | | | | | | | | This allows for calling e.g. TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test Michael (This used to be commit 7418d89b2941fff307e0980d1f71f106aed8cbce)
* testsuite: make structuring output of net_s3 tests stand out more.Michael Adam2008-05-061-3/+3
| | | | | | | say "RUNNING SUBTESTS ..." instead of "Running ... tests" Michael (This used to be commit 0b879817ba20861c7d0b239d7f7199b0a5ed2ca1)