summaryrefslogtreecommitdiffstats
path: root/source3/script/tests
Commit message (Collapse)AuthorAgeFilesLines
* s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner2009-06-021-5/+7
| | | | | | | | group" script. Guenther (cherry picked from commit 7a5475f098c6a20f867adc081ca455e6c393755b) (cherry picked from commit 1a129e79baac7c7ebbc63c9e077ede4b123cf390)
* s3-selftest: fix typo.Günther Deschner2009-05-261-2/+2
| | | | | | Guenther (cherry picked from commit 4258750e4f112040b3537c2c479f62b6e59b32e3) (cherry picked from commit b9344264c0d2108fbbb6ed9b19da9a56b6444211)
* s3-selftest: enable RPC-SAMR-LARGE-DC against Samba3.Günther Deschner2009-05-261-1/+1
| | | | | | | | | This will fail for alias creation as nss_wrapper does not yet wrap around libnss_winbind. Guenther (cherry picked from commit f0139e3b69a866a6154d0b349410fc0b3bfc30af) (cherry picked from commit e9ed9e7f90c39d38dd40871bb915adda2e9951ff)
* s3-selftest: add add and delete group scripts using nss_wrapper.Günther Deschner2009-05-261-0/+2
| | | | | | Guenther (cherry picked from commit e11f9b46c6345471cca76b9772080d3bfd687852) (cherry picked from commit f6b0448f814e47ea9eccf895c5182565104acae7)
* s3-selftest: enable RPC-SAMR-USERS-PRIVILEGES.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit 9e741b34b29eebfa3c0ca664a48e806007d572da) (cherry picked from commit 34da4e42cf077b4a8e4788156b7d7a980e1eefc7)
* Turn on SHORTNAME-TEST in torture.Jeremy Allison2009-05-261-0/+1
| | | | | Jeremy. (cherry picked from commit 99771d2e23b476d1a7becd9f394421363dd0dffe)
* s3-printing: Fix vlp testprinter application.Günther Deschner2009-05-261-7/+7
| | | | | | | | | | | | Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther (cherry picked from commit 94665adb484c25534b756012e9b55f01737b7713) (cherry picked from commit 502d9ec5d1f37cd5d992324025b88756b6a475ec)
* s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit f5cab8913b77c37dc24188b9093b80a0b4d42749) (cherry picked from commit 69551b562a575c300d14bd1691fe5213db71d6bc)
* s3-selftest: enable running RPC-SAMR-USERS against Samba3.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit d0100947002a892dff22aefd2491e3a66aaf3a07) (cherry picked from commit 1c5c537f449f2f808a7be2b11ef19c8a979d3b81)
* s3-selftest: run RPC-LSA-GETUSER against Samba 3.Günther Deschner2009-05-261-1/+2
| | | | | | Guenther (cherry picked from commit 66cf7e1835d5d711c91d0541b05eb11b61267ba8) (cherry picked from commit 921cd4b58f31e2ab821172b79ece8fb34d6b5cee)
* s3-selftest: finally enable RPC-SAMR-PASSWORDS which samba3 now passes.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit 53713be2cbc1156769b8b82d3df9da02459232ce) (cherry picked from commit 5fc5c808962ee87e618ab9661f449cd587dce361)
* s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner2009-05-261-0/+1
| | | | | | Guenther (cherry picked from commit 6f4b5798c96ed69d965d6c3c005518f87afda8d6) (cherry picked from commit 664cc387c18aafdf481ce468127dfba05009ea94)
* s3-selftest: run RPC-SCHANNEL, RPC-SCHANNEL2 and RPC-BENCH-SCHANNEL1 against ↵Günther Deschner2009-05-261-0/+1
| | | | | | | | Samba3. Guenther (cherry picked from commit 949cd77ca2529249dc8cd04740c2ca342fb0c283) (cherry picked from commit 707be96878c5618f42470e10ec68ce859c307678)
* s3-test: make it possible to find the built vlp in "make test".Günther Deschner2009-04-291-1/+9
| | | | | | Guenther (cherry picked from commit 3316ae9d75dfe6c7a960938c9503367880510079) (cherry picked from commit 0146649cf95ad27a583057df300fe5712b89e806)
* s3-selftest: test wbinfo --allocate-uid/gid.Günther Deschner2009-04-281-0/+2
| | | | | | Guenther (cherry picked from commit 59fe99027d0ac972d0d74a24842d6423119c0d21) (cherry picked from commit abac431ce164c3ce3fcf53fbc77d0486347e22f1)
* s3-selftest: enable RPC-SPOOLSS.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit 6f90cdaf63b5b584c96b9ffc388c9e8df172db67) (cherry picked from commit 4677976a2081e4384b61d163d104c651e7a1f569)
* s3-selftest: samba 3 also passes RPC-JOIN so enable it.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit 4f9d3400e5aa310e8071c0bb5d62ddaed1d846ee) (cherry picked from commit c33e3b84a706fa429ceeea81fb17c434e8f6cb4e)
* s3-selftest: enable RPC-SAMR-PASSWORDS-PWDLASTSET whilte testing Samba3.Günther Deschner2009-04-281-1/+2
| | | | | | Guenther (cherry picked from commit 490f6c418d8b1280d0a3b85773a72b2047122c12) (cherry picked from commit 7f6094fe8238f7a146fe7c45ab31f0e2244704bd)
* s3-selftest: enable RPC-LSA-LOOKUPSIDS against samba 3.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit deb719a62e0909d476b9817c45a32766dc9709d7) (cherry picked from commit cfb5e97b88aae1780b5ef14baa15d9c692d157ab)
* s3-nsswitch: fix make test_wbpad.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit 1b9384a11f2957bcfbe9f23e023c79535d4a7bc9) (cherry picked from commit e7c9c2f279eaa424ba7cfecd0bfd827520640f5d)
* s3-selftest: enable the RPC-NTSVCS torture test against Samba3.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit f930f504e1d5e78d2f6f36cab9ce36dbeb34e955) (cherry picked from commit cd4c88dbe6a292d9244165748b9121eae30d93d0)
* s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit c1b354531faaef43d632f6a77c5eb04d39461069) (cherry picked from commit a8f99c883a90b1884eda614049b03e0607d427fb)
* s3-selftest: add root for make test as well (not only make selftest).Günther Deschner2009-04-151-0/+1
| | | | | | Guenther (cherry picked from commit fa7f2ffe5116dce69e89b990f816a32721474fb6) (cherry picked from commit 367fb7b7d28bcdd392ca60806a5f15b4ef260193)
* s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test.Günther Deschner2009-04-151-0/+1
| | | | | | Guenther (cherry picked from commit 403422e1ea8f654a9dee12566b8b28c09fe301c8) (cherry picked from commit 98000d20c189697da4f3e8a1c1207c1d7369cc78)
* 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)