summaryrefslogtreecommitdiffstats
path: root/source/script/tests
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.Michael Adam2008-07-211-0/+2
| | | | Michael
* testsuite: fix another expr syntax error. in tests_all.sh.Michael Adam2008-07-211-1/+1
| | | | Michael
* 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
* 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
* testsuite: fix bug #5594 by using the new --skip-global-ckecks switchMichael Adam2008-07-151-1/+1
| | | | Michael
* testsuite: fix another expr typo in net registry test script.Michael Adam2008-07-091-1/+1
| | | | Michael
* testsuite: fix expr typo in net registry testscript.Michael Adam2008-07-091-1/+1
| | | | Michael
* testsuite: enable the testparm_s3 tests.Michael Adam2008-06-191-0/+7
| | | | Michael
* 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
* 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
* Fix typoVolker Lendecke2008-06-191-1/+1
|
* 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
* 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
* 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
* 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
* 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
* testsuite: make diagnostic output more appropriate in tests_all.shMichael Adam2008-05-061-9/+9
| | | | | | Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..." Michael
* testsuite: give the testuser administrative rights in selftest.shMichael Adam2008-05-061-0/+10
| | | | | | (by adding him to builtin\administrators) Michael
* testsuite: run the net rpc registry tests from the net_s3 tests.Michael Adam2008-05-061-0/+7
| | | | Michael
* testsuite: add the ability to test "net rpc registry" with the net_registry ↵Michael Adam2008-05-061-2/+9
| | | | | | | | tests by specifying a parameter "rpc" on the commandline. Michael
* testsuite: adapt informative message to say "Running _local_ registry tests".Michael Adam2008-05-061-1/+1
| | | | | | The plan is to also test remote registry with "net rpc registry". Michael
* testsuite: use domain==workgroup in wbinfo tests now that we are PDC.Michael Adam2008-05-061-2/+2
| | | | | | Previously domain==netbios name was the right thing to use. Michael
* tests: Add a net_misc test.Kai Blin2008-05-063-4/+80
|
* selftest: Advertise as PDC and time server during make testKai Blin2008-05-061-0/+4
|
* selftest: Use TESTS env var to specify tests to run like Samba4 does.Kai Blin2008-05-062-4/+4
|
* Use wbinfo --online-status in make test rather than --sequenceGerald W. Carter2008-04-231-3/+3
|
* test: not only pretend to call smbconftort - really do it :-}Michael Adam2008-04-111-1/+1
| | | | Michael
* some shells are pickier than others ...Björn Jacke2008-04-111-1/+1
|
* test: run smbconftort testsuite from the local_s3 testsMichael Adam2008-04-101-0/+3
| | | | Michael
* selftest: run the BASE-DELAYWRITE test 4 times faster in make testStefan Metzmacher2008-04-082-0/+2
| | | | metze
* selftest: samba3 passes BASE-DELAYWRITEStefan Metzmacher2008-04-071-1/+1
| | | | metze
* test: add diagnostic message to net_registry test.Michael Adam2008-04-011-0/+1
| | | | Michael
* test: fix net_registry test "set value to different type" to track error countMichael Adam2008-04-011-1/+1
| | | | | | missing backslash in call... :-} Michael
* test: some cosmetics to net_registry tests.Michael Adam2008-04-011-2/+3
| | | | Michael
* test: fix net_registry tests to correctly capture output of commands inside ↵Michael Adam2008-04-011-12/+25
| | | | | | | | | one test so that failure output is not clobbered by output of previous successful commands. Michael
* test: fix use of printf in net_registry tests.Michael Adam2008-04-011-12/+12
| | | | | | actually 'printf "%s\n"' is the proper replacement of 'echo -e' Michael
* test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.shMichael Adam2008-04-011-3/+3
| | | | Michael
* test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.shMichael Adam2008-04-011-1/+1
| | | | Michael
* test: make registry tests more portable: protect some grep patterns in ' '.Michael Adam2008-04-011-4/+4
| | | | Michael
* test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'Michael Adam2008-04-011-12/+12
| | | | Michael
* test: add test script for testing "net registry".Michael Adam2008-04-012-0/+385
| | | | Michael
* test: add (and unify) sectioning output of subtests in tests_all.shMichael Adam2008-03-311-2/+8
| | | | Michael
* test: add possibility to select tests to run via tests_all.sh (make test)Michael Adam2008-03-311-8/+14
| | | | | | | | | This allows to select the tests to run with tests_all.sh by setting the environment variable "RUNTESTS". Example: RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test Michael
* test: in tests_all.sh, wrap calls to test scripts into shell functions.Michael Adam2008-03-311-20/+63
| | | | | | | This is in preparation for enabling running only selected test scripts through "make test". Michael
* selftest: samba3 passes RAW-SEARCH nowStefan Metzmacher2008-03-111-1/+1
| | | | | | As the resume key tests are skipped against samba3. metze
* Test: Properly track current test binary for tracking crashes.Michael Adam2008-03-061-4/+9
| | | | | | Make sure the panic action always has the right test binary set. Michael
* make test: pass --option=torture:sharedelay=100000 to samba4 smbtortureStefan Metzmacher2008-02-251-0/+2
| | | | | | BASE-DEFER_OPEN is now more strict with incorrect timing metze
* ntlm_auth: Fix another typo in the test.Kai Blin2008-01-301-2/+2
| | | | This _should_ be the last one.
* ntlm_auth: test should honour configfile option to run on build farm.Kai Blin2008-01-301-2/+2
|
* ntlm_auth: Fix typos in the torture test script.Kai Blin2008-01-301-2/+2
| | | | | This should fix the build farm. Sorry, wonder why it worked on my box before.