summaryrefslogtreecommitdiffstats
path: root/source/script
Commit message (Collapse)AuthorAgeFilesLines
* s3-test: add RPC-SAMR-MACHINE-AUTH to list of tests to run against s3.Günther Deschner2009-08-101-0/+2
| | | | | Guenther (cherry picked from commit db7c5d175ba2d733df445f7d0dc570a79a417f49)
* s3-selftest: test wbinfo --allocate-uid/gid.Günther Deschner2009-06-021-0/+2
| | | | | | Guenther (cherry picked from commit c3843c40b5c426910a184dcef3b17283e6e224e9) (cherry picked from commit 679be14a080dfcbbbc9403ff0fc67b61073a357e)
* Adjust regex to match variable names including underscoresLars Müller2009-02-031-1/+1
| | | | | | This is required to get the CIFSUPCALL_PROGS setting extracted from config.log. (cherry picked from commit 1c3313dea793a7eea72afb990da125f6c2a8444c)
* Conditional install of the cifs.upcall man pageLars Müller2009-02-031-0/+1
| | | | | | Only install the cifs.upcall man page if CIFSUPCALL_PROGS was set while configure. (cherry picked from commit b44b29e5d9047f79202fa8fb3ca0eb86b2a98090)
* s3:selftest: test the streams_depot module as it passes make testStefan Metzmacher2008-12-091-1/+1
| | | | | | | The streams_xattr module only passes sometimes on my laptop. metze (cherry picked from commit 23473f3f000309ae8fa1481b4ccc97e5ee0adca1)
* testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.Michael Adam2008-07-211-0/+2
| | | | | | Michael (cherry picked from commit 25cd227aaecf91dfa3114ae0fd2b47c783434aad) (cherry picked from commit 90f33570e45159193d9336c742bf53d51573849b)
* testsuite: fix another expr syntax error. in tests_all.sh.Michael Adam2008-07-211-1/+1
| | | | | | Michael (cherry picked from commit 486b1bc5b5021565ec443fd463c8287c02c686b3) (cherry picked from commit 4038363b72eb852d462234a1ec85c3cc68765f0d)
* testsuite: fix expr syntax error in net registry test.Michael Adam2008-07-211-1/+1
| | | | | | | | Pointed out by Björn Jacke <bj@sernet.de>. Michael (cherry picked from commit 63e7d9adb7a51b3790eb431615cb6e450391a894) (cherry picked from commit 0dbb8def6b9647bb01f4544361cb87bafdfb3fc8)
* testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam2008-07-161-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 (cherry picked from commit 5b8a4c33482917a1ef7071df224957ba831d853a) (cherry picked from commit 04cdfbba747b928c3133e29446c0fe91c39a41f2)
* testsuite: fix bug #5594 by using the new --skip-global-ckecks switchMichael Adam2008-07-161-1/+1
| | | | | | Michael (cherry picked from commit 32f4b1443af12026c419684be45a7d8b96ccfaac) (cherry picked from commit 87c4f1fc67df146585a6e0862b701b6e6193f0f0)
* testsuite: fix another expr typo in net registry test script.Michael Adam2008-07-101-1/+1
| | | | | | Michael (cherry picked from commit 73312e4e21b6d14363bd0987e0c9716c4ec91834) (cherry picked from commit 01ea8d4f34cfe29dd8a945ebe340a80a4eafb9c7)
* testsuite: fix expr typo in net registry testscript.Michael Adam2008-07-101-1/+1
| | | | | | Michael (cherry picked from commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae) (cherry picked from commit 1b293758292a055648403f74d0b565538ad578d2)
* testsuite: enable the testparm_s3 tests.Michael Adam2008-06-231-0/+7
| | | | | | Michael (cherry picked from commit 0f5c13e5735990f4325f98156a7dc410276372fe) (cherry picked from commit 784e9e6b9ce4cc043bdeba8ca396f59de51cd294)
* testsuite: add a testparm_s3 test script.Michael Adam2008-06-231-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 (cherry picked from commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a) (cherry picked from commit eff6a48cee0fa6a320728f3bb44c3894dd3f6044)
* testsuite: update introductory comment to test_net_regsistry.shMichael Adam2008-06-231-1/+2
| | | | | | | | | This is now used to test rpc and local access depending on command line parameters. Michael (cherry picked from commit 73c17b630317b5019e5d5f2b989b8de081a73e07) (cherry picked from commit febf046fc47dd3de3bbb6c0da5b218d73ef0487c)
* Fix typoVolker Lendecke2008-06-231-1/+1
| | | | | (cherry picked from commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8) (cherry picked from commit b517b0c0f20127876c63cc726afe7f902421af15)
* testsuite: give admin rights to testuser only for the "net rpc registry" test.Michael Adam2008-06-231-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 (cherry picked from commit 1734f9305a38eff05f0147d9c7391ef34085e7b2) (cherry picked from commit 1df339954b1dcc120195b26a6b3a08268dd0041c)
* testsuite: don't give the testuser administrative rights globally.Michael Adam2008-06-231-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 (cherry picked from commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521) (cherry picked from commit cebe6225d5bc584b24c2bebf30db353653df34b0)
* tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.Karolin Seeger2008-06-231-1/+4
| | | | | | | | Improve error message if no SMB4TORTURE is available. Karolin (cherry picked from commit 443691eb2614919043406f94e9c71b49230612d5) (cherry picked from commit 4de981e5174dffd9a21431017cfa75fc73910b48)
* testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.Michael Adam2008-06-231-0/+4
| | | | | | | | | | This allows for calling e.g. TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test Michael (cherry picked from commit 7418d89b2941fff307e0980d1f71f106aed8cbce) (cherry picked from commit 3fdce53f72242381eeda15ad6c3817a4cc88b323)
* testsuite: make structuring output of net_s3 tests stand out more.Michael Adam2008-06-231-3/+3
| | | | | | | | say "RUNNING SUBTESTS ..." instead of "Running ... tests" Michael (cherry picked from commit 0b879817ba20861c7d0b239d7f7199b0a5ed2ca1) (cherry picked from commit 370295aef1f8ee7cf8b5126de4629b69d1559578)
* testsuite: make diagnostic output more appropriate in tests_all.shMichael Adam2008-06-231-9/+9
| | | | | | | | Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..." Michael (cherry picked from commit b73821c392a23c213e4b1ad25a8a2d0c845cee3a) (cherry picked from commit c9f82b175c2f38eeec77cab2906ef480ae558861)
* testsuite: give the testuser administrative rights in selftest.shMichael Adam2008-06-231-0/+10
| | | | | | | | (by adding him to builtin\administrators) Michael (cherry picked from commit baea0615003cc2db8b27872e87064364f2deb079) (cherry picked from commit 5d564b25e946e3a57fa251271711937e938cd22d)
* testsuite: run the net rpc registry tests from the net_s3 tests.Michael Adam2008-06-231-0/+7
| | | | | | Michael (cherry picked from commit dcf39078cf0524a7450db3f67c8e004eb42690c2) (cherry picked from commit 3b09034bd9ad7a95d0d74302c953a5983ff4a417)
* testsuite: add the ability to test "net rpc registry" with the net_registry ↵Michael Adam2008-06-231-2/+9
| | | | | | | | | | tests by specifying a parameter "rpc" on the commandline. Michael (cherry picked from commit 110c26374ef3e0bdefe2e54db2b8ffd4544780ef) (cherry picked from commit 6cdeb832bd11c0a12ce577ce10e30cc098bca729)
* testsuite: adapt informative message to say "Running _local_ registry tests".Michael Adam2008-06-231-1/+1
| | | | | | | | The plan is to also test remote registry with "net rpc registry". Michael (cherry picked from commit b5507f8a95399193099a0474fb8b8bc95ba04a48) (cherry picked from commit 1580941cb7718eec3931893ec8ac7a2c0c62c363)
* testsuite: use domain==workgroup in wbinfo tests now that we are PDC.Michael Adam2008-06-231-2/+2
| | | | | | | | Previously domain==netbios name was the right thing to use. Michael (cherry picked from commit a5fc47c2457ce370a4f6150b9f2a417dac7589bf) (cherry picked from commit b211b576cc1287aeb2b541ae6575a3230350d044)
* tests: Add a net_misc test.Kai Blin2008-06-233-4/+80
| | | | | (cherry picked from commit 026d701aff2c035359894786ec22b4ed829cfb31) (cherry picked from commit 09fe8019a7b688312892be96eacec55fd1f059e7)
* selftest: Advertise as PDC and time server during make testKai Blin2008-06-231-0/+4
| | | | | (cherry picked from commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50) (cherry picked from commit 1b24a06502a910909cf889916423c94aca92b1cf)
* selftest: Use TESTS env var to specify tests to run like Samba4 does.Kai Blin2008-06-232-4/+4
| | | | | (cherry picked from commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2) (cherry picked from commit 11252c8faff0373bf16b7bc42d65dbc5cf5ec57d)
* Revert "build: add symbol versioning when we build with gnu ld"Karolin Seeger2008-06-092-29/+8
| | | | | | | | | | | | This reverts commit cb5492978b6b157f529806afb2f5fc6202888129. For more information, please have a look at the discussion on samba-technical starting with [1]. [1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html Karolin (cherry picked from commit 1e5aeb96f92fef8056ec9010e125f4d0d31dd90e)
* build: add symbol versioning when we build with gnu ldStefan Metzmacher2008-05-232-8/+29
| | | | | | | There's --enable-symbol-versioning=no to disable it. metze (cherry picked from commit cb5492978b6b157f529806afb2f5fc6202888129)
* Use wbinfo --online-status in make test rather than --sequenceGerald W. Carter2008-04-231-3/+3
| | | | (cherry picked from commit f8c364da94fac96450116be980e38ddddd3f304a)
* registry: remove the REGISTRY_HOOKS layer from the reghook cache.Michael Adam2008-04-221-1/+1
| | | | | | | | | | | There is no need to save the keyname again, we only need to get the REGISTRY_OPS out of the pathtree. Furthermore, this makes life easier, since we can now pass in keynames as temporarily allocated strings. Michael (cherry picked from commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
* selftest: samba3 passes RAW-SEARCH nowStefan Metzmacher2008-04-131-1/+1
| | | | | | | As the resume key tests are skipped against samba3. metze (cherry picked from commit c765090871ed68a9ba650bca44f5f3b88997ea14)
* selftest: run the BASE-DELAYWRITE test 4 times faster in make testStefan Metzmacher2008-04-122-0/+2
| | | | | metze (cherry picked from commit 83b6da7c52a6f5285a9765d22d13a53fe9dc80e5)
* selftest: samba3 passes BASE-DELAYWRITEStefan Metzmacher2008-04-121-1/+1
| | | | | metze (cherry picked from commit 5df34634317633820993c9ef924d694a8fe1c4fe)
* test: not only pretend to call smbconftort - really do it :-}Michael Adam2008-04-111-1/+1
| | | | | Michael (cherry picked from commit e0947537e61cdc7aaaf1256a7f9a590f006cb3d9)
* some shells are pickier than others ...Björn Jacke2008-04-111-1/+1
| | | | (cherry picked from commit 9aabfa44d95128ded567d0949a6dd42786cbf6fb)
* test: run smbconftort testsuite from the local_s3 testsMichael Adam2008-04-111-0/+3
| | | | | Michael (cherry picked from commit 6641061f76d2175b9476a96d24b99a52163936ca)
* test: add diagnostic message to net_registry test.Michael Adam2008-04-041-0/+1
| | | | | Michael (cherry picked from commit c04a234f8f6fbdf8e54c69414024d84aa71fec45)
* test: fix net_registry test "set value to different type" to track error countMichael Adam2008-04-041-1/+1
| | | | | | | missing backslash in call... :-} Michael (cherry picked from commit 8f0c25f01f11857d24556346dc2758549919eba3)
* test: some cosmetics to net_registry tests.Michael Adam2008-04-041-2/+3
| | | | | Michael (cherry picked from commit dba9db5ae6581df18591eebd19d3649bed0d9367)
* test: fix net_registry tests to correctly capture output of commands inside ↵Michael Adam2008-04-041-12/+25
| | | | | | | | | | one test so that failure output is not clobbered by output of previous successful commands. Michael (cherry picked from commit cb3dafe5fd8867b000e01979d4232968d994d376)
* test: fix use of printf in net_registry tests.Michael Adam2008-04-041-12/+12
| | | | | | | actually 'printf "%s\n"' is the proper replacement of 'echo -e' Michael (cherry picked from commit 388a40931f1559b134317ef0c85c7cf2598e17fe)
* mkversion: be more portable, use 'print "%s"' instead of 'echo -n'Michael Adam2008-04-041-4/+4
| | | | | Michael (cherry picked from commit 7a23dab1eaf3116079a89cdf348cabc659608031)
* installswat: be more portable, use 'printf "%s"' instead of 'echo -n'Michael Adam2008-04-041-2/+2
| | | | | Michael (cherry picked from commit 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)
* test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.shMichael Adam2008-04-041-3/+3
| | | | | Michael (cherry picked from commit c0c41184277044eb856f91c025f645c198cac188)
* test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.shMichael Adam2008-04-041-1/+1
| | | | | Michael (cherry picked from commit b6122406fe938fdaf373ff45214db79de06eb989)
* test: make registry tests more portable: protect some grep patterns in ' '.Michael Adam2008-04-041-4/+4
| | | | | Michael (cherry picked from commit 1cb3b2f065566f981f6cfb8b5efdfad7db49c719)