summaryrefslogtreecommitdiff
path: root/source3/script
AgeCommit message (Collapse)AuthorFilesLines
2008-06-19testsuite: enable the testparm_s3 tests.Michael Adam1-0/+7
Michael (This used to be commit 0f5c13e5735990f4325f98156a7dc410276372fe)
2008-06-19testsuite: add a testparm_s3 test script.Michael Adam1-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)
2008-06-19testsuite: update introductory comment to test_net_regsistry.shMichael Adam1-1/+2
This is now used to test rpc and local access depending on command line parameters. Michael (This used to be commit 73c17b630317b5019e5d5f2b989b8de081a73e07)
2008-06-19Fix typoVolker Lendecke1-1/+1
(This used to be commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8)
2008-06-17testsuite: give admin rights to testuser only for the "net rpc registry" test.Michael Adam1-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)
2008-06-17testsuite: don't give the testuser administrative rights globally.Michael Adam1-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)
2008-06-17Remove references to SVN.Karolin Seeger1-1/+1
Karolin (This used to be commit 9d69a809e370f98057e514a3c755b0b86ee5f610)
2008-05-23build: add symbol versioning when we build with gnu ldStefan Metzmacher2-8/+29
There's --enable-symbol-versioning=no to disable it. metze (cherry picked from commit cb5492978b6b157f529806afb2f5fc6202888129) (This used to be commit a739652d94300881479262648592223536fc8eec)
2008-05-18build: remove mkproto.sh and mkproto.awkMichael Adam2-217/+0
Michael (This used to be commit 5f2983209fb2c8e2ceafde6136c40a59b38f3a68)
2008-05-13tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.Karolin Seeger1-1/+4
Improve error message if no SMB4TORTURE is available. Karolin (This used to be commit 443691eb2614919043406f94e9c71b49230612d5)
2008-05-07testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.Michael Adam1-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)
2008-05-06testsuite: make structuring output of net_s3 tests stand out more.Michael Adam1-3/+3
say "RUNNING SUBTESTS ..." instead of "Running ... tests" Michael (This used to be commit 0b879817ba20861c7d0b239d7f7199b0a5ed2ca1)
2008-05-06testsuite: make diagnostic output more appropriate in tests_all.shMichael Adam1-9/+9
Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..." Michael (This used to be commit b73821c392a23c213e4b1ad25a8a2d0c845cee3a)
2008-05-06testsuite: give the testuser administrative rights in selftest.shMichael Adam1-0/+10
(by adding him to builtin\administrators) Michael (This used to be commit baea0615003cc2db8b27872e87064364f2deb079)
2008-05-06testsuite: run the net rpc registry tests from the net_s3 tests.Michael Adam1-0/+7
Michael (This used to be commit dcf39078cf0524a7450db3f67c8e004eb42690c2)
2008-05-06testsuite: add the ability to test "net rpc registry" with the net_registry ↵Michael Adam1-2/+9
tests by specifying a parameter "rpc" on the commandline. Michael (This used to be commit 110c26374ef3e0bdefe2e54db2b8ffd4544780ef)
2008-05-06testsuite: adapt informative message to say "Running _local_ registry tests".Michael Adam1-1/+1
The plan is to also test remote registry with "net rpc registry". Michael (This used to be commit b5507f8a95399193099a0474fb8b8bc95ba04a48)
2008-05-06testsuite: use domain==workgroup in wbinfo tests now that we are PDC.Michael Adam1-2/+2
Previously domain==netbios name was the right thing to use. Michael (This used to be commit a5fc47c2457ce370a4f6150b9f2a417dac7589bf)
2008-05-06tests: Add a net_misc test.Kai Blin3-4/+80
(This used to be commit 026d701aff2c035359894786ec22b4ed829cfb31)
2008-05-06selftest: Advertise as PDC and time server during make testKai Blin1-0/+4
(This used to be commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50)
2008-05-06selftest: Use TESTS env var to specify tests to run like Samba4 does.Kai Blin2-4/+4
(This used to be commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2)
2008-04-23Use wbinfo --online-status in make test rather than --sequenceGerald W. Carter1-3/+3
(This used to be commit f8c364da94fac96450116be980e38ddddd3f304a)
2008-04-13registry: remove the REGISTRY_HOOKS layer from the reghook cache.Michael Adam1-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 (This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
2008-04-11test: not only pretend to call smbconftort - really do it :-}Michael Adam1-1/+1
Michael (This used to be commit e0947537e61cdc7aaaf1256a7f9a590f006cb3d9)
2008-04-11some shells are pickier than others ...Björn Jacke1-1/+1
(This used to be commit 9aabfa44d95128ded567d0949a6dd42786cbf6fb)
2008-04-10test: run smbconftort testsuite from the local_s3 testsMichael Adam1-0/+3
Michael (This used to be commit 6641061f76d2175b9476a96d24b99a52163936ca)
2008-04-08selftest: run the BASE-DELAYWRITE test 4 times faster in make testStefan Metzmacher2-0/+2
metze (This used to be commit 83b6da7c52a6f5285a9765d22d13a53fe9dc80e5)
2008-04-07selftest: samba3 passes BASE-DELAYWRITEStefan Metzmacher1-1/+1
metze (This used to be commit 5df34634317633820993c9ef924d694a8fe1c4fe)
2008-04-01test: add diagnostic message to net_registry test.Michael Adam1-0/+1
Michael (This used to be commit c04a234f8f6fbdf8e54c69414024d84aa71fec45)
2008-04-01test: fix net_registry test "set value to different type" to track error countMichael Adam1-1/+1
missing backslash in call... :-} Michael (This used to be commit 8f0c25f01f11857d24556346dc2758549919eba3)
2008-04-01test: some cosmetics to net_registry tests.Michael Adam1-2/+3
Michael (This used to be commit dba9db5ae6581df18591eebd19d3649bed0d9367)
2008-04-01test: fix net_registry tests to correctly capture output of commands inside ↵Michael Adam1-12/+25
one test so that failure output is not clobbered by output of previous successful commands. Michael (This used to be commit cb3dafe5fd8867b000e01979d4232968d994d376)
2008-04-01test: fix use of printf in net_registry tests.Michael Adam1-12/+12
actually 'printf "%s\n"' is the proper replacement of 'echo -e' Michael (This used to be commit 388a40931f1559b134317ef0c85c7cf2598e17fe)
2008-04-01mkversion: be more portable, use 'print "%s"' instead of 'echo -n'Michael Adam1-4/+4
Michael (This used to be commit 7a23dab1eaf3116079a89cdf348cabc659608031)
2008-04-01installswat: be more portable, use 'printf "%s"' instead of 'echo -n'Michael Adam1-2/+2
Michael (This used to be commit 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)
2008-04-01test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.shMichael Adam1-3/+3
Michael (This used to be commit c0c41184277044eb856f91c025f645c198cac188)
2008-04-01test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.shMichael Adam1-1/+1
Michael (This used to be commit b6122406fe938fdaf373ff45214db79de06eb989)
2008-04-01test: make registry tests more portable: protect some grep patterns in ' '.Michael Adam1-4/+4
Michael (This used to be commit 1cb3b2f065566f981f6cfb8b5efdfad7db49c719)
2008-04-01test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'Michael Adam1-12/+12
Michael (This used to be commit 5c1b7ee5c17489da90192309853aa1ecacc15512)
2008-04-01test: add test script for testing "net registry".Michael Adam2-0/+385
Michael (This used to be commit fa5968a26b552d7f13574a826e506ed2d6630feb)
2008-03-31test: add (and unify) sectioning output of subtests in tests_all.shMichael Adam1-2/+8
Michael (This used to be commit d775194e9c7b75182c485fba427b20ec2bfcf16c)
2008-03-31test: add possibility to select tests to run via tests_all.sh (make test)Michael Adam1-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 (This used to be commit bf4af79f050cceb6611a8aa3d893b59b816a41ce)
2008-03-31test: in tests_all.sh, wrap calls to test scripts into shell functions.Michael Adam1-20/+63
This is in preparation for enabling running only selected test scripts through "make test". Michael (This used to be commit ad1fbadf81c915425301ec495744c11f3103169f)
2008-03-24Fix libtdb some to move back towards allowing out of tree buildsGerald (Jerry) Carter1-1/+1
Remaining problem is that not all *.syms linker scripts are generated so the LD command needs to look in a single place. Out of tree builds now work but report write access to the source tree in order to create the $(srcdir)/expotrs/libtdb.sysms file. (This used to be commit 6e9287c5c3a6bbd15ec495593978c1a76e64ee60)
2008-03-11selftest: samba3 passes RAW-SEARCH nowStefan Metzmacher1-1/+1
As the resume key tests are skipped against samba3. metze (This used to be commit c765090871ed68a9ba650bca44f5f3b88997ea14)
2008-03-06Test: Properly track current test binary for tracking crashes.Michael Adam1-4/+9
Make sure the panic action always has the right test binary set. Michael (This used to be commit 567ac329dcec6fc839d6b25cbf1872f1f51ff7e5)
2008-02-29Revert "make idl: Only compile idl files newer than the output to be generated."Michael Adam1-1/+1
This reverts commit 79c199d16e565eabd9fd971247f8df62689bb92a. Revert this until pidl is capable of doing decent dependency tracking itself (importing types from imported idls). Michael (This used to be commit 1fb69ad1f5c79dd77f73a5fee266e1e363e6974d)
2008-02-28Remove smbmount.Karolin Seeger3-16/+0
Karolin (This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
2008-02-26make idl: Only compile idl files newer than the output to be generated.Michael Adam1-1/+1
Fix "if" condition in build_idl.sh to not always evaluate as false. Michael (This used to be commit 79c199d16e565eabd9fd971247f8df62689bb92a)
2008-02-25Fix build on some systems : don't pass libraries to mkproto.awkMichael Adam1-1/+1
Currently, some static libraries have gone into object lists that are also passed to make proto. (This should probably be changed...) Then some awk versions fail when passed an non- existing lib/libtdb.a e.g.. This patch changes mkproto.sh to exclude \.a files from the list of files to process. Michael (This used to be commit 826b9ab07b58ca39350cca921002a4213ce7c7c9)