Michael Adam
e069372ef8
buildoptions: output MODULESDIR.
...
Michael
(This used to be commit bcb868e434
)
2008-08-15 23:19:57 +02:00
Michael Adam
739e9cfbe0
testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.
...
Michael
(This used to be commit 25cd227aae
)
2008-07-21 11:23:55 +02:00
Michael Adam
eac08b0fc5
testsuite: fix another expr syntax error. in tests_all.sh.
...
Michael
(This used to be commit 486b1bc5b5
)
2008-07-21 11:17:36 +02:00
Michael Adam
a197e25713
testsuite: fix expr syntax error in net registry test.
...
Pointed out by Björn Jacke <bj@sernet.de>.
Michael
(This used to be commit 87e02bca04
)
2008-07-20 23:51:35 +02:00
Andreas Schneider
2a8ebdca53
Simplify samba_version_string.
...
This adds a new macro for a vender version function which will be returned
by the samba_version_string() function if defined.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 8b9301fbc7
)
2008-07-17 14:16:19 +02:00
Michael Adam
7cc155bdc1
testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
...
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 5b8a4c3348
)
2008-07-15 12:54:04 +02:00
Michael Adam
9978cc6c23
testsuite: fix bug #5594 by using the new --skip-global-ckecks switch
...
Michael
(This used to be commit 32f4b1443a
)
2008-07-15 00:31:10 +02:00
Michael Adam
733cf76026
testsuite: fix another expr typo in net registry test script.
...
Michael
(This used to be commit 73312e4e21
)
2008-07-09 00:33:54 +02:00
Michael Adam
b65d497c33
testsuite: fix expr typo in net registry testscript.
...
Michael
(This used to be commit 5b6c32160a
)
2008-07-09 00:33:14 +02:00
Karolin Seeger
006515d889
Revert "build: add symbol versioning when we build with gnu ld"
...
This reverts commit cb5492978b
.
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 1e5aeb96f9
)
(This used to be commit d06baf0e74
)
2008-06-27 13:46:26 +02:00
Michael Adam
0f32b22031
testsuite: enable the testparm_s3 tests.
...
Michael
(This used to be commit 0f5c13e573
)
2008-06-19 17:22:27 +02:00
Michael Adam
24de341973
testsuite: add a testparm_s3 test script.
...
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 eb28146d40
)
2008-06-19 17:22:27 +02:00
Michael Adam
b0c3f1459d
testsuite: update introductory comment to test_net_regsistry.sh
...
This is now used to test rpc and local access depending on
command line parameters.
Michael
(This used to be commit 73c17b6303
)
2008-06-19 17:22:27 +02:00
Volker Lendecke
809b992b17
Fix typo
...
(This used to be commit 2eef2c682c
)
2008-06-19 12:02:12 +02:00
Michael Adam
ba3eee6cf8
testsuite: give admin rights to testuser only for the "net rpc registry" test.
...
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 1734f9305a
)
2008-06-17 23:54:15 +02:00
Michael Adam
aeec9c7f55
testsuite: don't give the testuser administrative rights globally.
...
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 9fe99c69f3
)
2008-06-17 23:51:23 +02:00
Karolin Seeger
99e73df8e8
Remove references to SVN.
...
Karolin
(This used to be commit 9d69a809e3
)
2008-06-17 10:43:19 +02:00
Stefan Metzmacher
7abda3fb9d
build: add symbol versioning when we build with gnu ld
...
There's --enable-symbol-versioning=no to disable it.
metze
(cherry picked from commit cb5492978b
)
(This used to be commit a739652d94
)
2008-05-23 17:19:57 +02:00
Michael Adam
be175e274e
build: remove mkproto.sh and mkproto.awk
...
Michael
(This used to be commit 5f2983209f
)
2008-05-18 23:39:15 +02:00
Karolin Seeger
5d6528e44f
tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.
...
Improve error message if no SMB4TORTURE is available.
Karolin
(This used to be commit 443691eb26
)
2008-05-13 14:17:59 +02:00
Michael Adam
5621ce6fb4
testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.
...
This allows for calling e.g.
TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test
Michael
(This used to be commit 7418d89b29
)
2008-05-07 00:14:17 +02:00
Michael Adam
1f582b73b3
testsuite: make structuring output of net_s3 tests stand out more.
...
say "RUNNING SUBTESTS ..." instead of "Running ... tests"
Michael
(This used to be commit 0b879817ba
)
2008-05-06 12:26:14 +02:00
Michael Adam
dadc6a4f35
testsuite: make diagnostic output more appropriate in tests_all.sh
...
Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..."
Michael
(This used to be commit b73821c392
)
2008-05-06 12:26:14 +02:00
Michael Adam
e7fa8e2700
testsuite: give the testuser administrative rights in selftest.sh
...
(by adding him to builtin\administrators)
Michael
(This used to be commit baea061500
)
2008-05-06 12:26:14 +02:00
Michael Adam
447df4dc85
testsuite: run the net rpc registry tests from the net_s3 tests.
...
Michael
(This used to be commit dcf39078cf
)
2008-05-06 12:26:14 +02:00
Michael Adam
c5db4d17cd
testsuite: add the ability to test "net rpc registry" with the net_registry tests
...
by specifying a parameter "rpc" on the commandline.
Michael
(This used to be commit 110c26374e
)
2008-05-06 12:26:14 +02:00
Michael Adam
6989228d69
testsuite: adapt informative message to say "Running _local_ registry tests".
...
The plan is to also test remote registry with "net rpc registry".
Michael
(This used to be commit b5507f8a95
)
2008-05-06 12:26:14 +02:00
Michael Adam
41075fbfa1
testsuite: use domain==workgroup in wbinfo tests now that we are PDC.
...
Previously domain==netbios name was the right thing to use.
Michael
(This used to be commit a5fc47c245
)
2008-05-06 12:26:14 +02:00
Kai Blin
4cbb87adad
tests: Add a net_misc test.
...
(This used to be commit 026d701aff
)
2008-05-06 12:26:13 +02:00
Kai Blin
49264b539d
selftest: Advertise as PDC and time server during make test
...
(This used to be commit 65c619b36d
)
2008-05-06 12:26:13 +02:00
Kai Blin
60fedc43e7
selftest: Use TESTS env var to specify tests to run like Samba4 does.
...
(This used to be commit 6fb1fe803c
)
2008-05-06 12:26:13 +02:00
Gerald W. Carter
5c3b9a38f5
Use wbinfo --online-status in make test rather than --sequence
...
(This used to be commit f8c364da94
)
2008-04-23 11:26:35 -05:00
Michael Adam
413c2e9b0a
registry: remove the REGISTRY_HOOKS layer from the reghook cache.
...
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 2f9ee2f782
)
2008-04-13 01:43:42 +02:00
Michael Adam
c575c85d58
test: not only pretend to call smbconftort - really do it :-}
...
Michael
(This used to be commit e0947537e6
)
2008-04-11 10:57:50 +02:00
Björn Jacke
83a6605b3a
some shells are pickier than others ...
...
(This used to be commit 9aabfa44d9
)
2008-04-11 10:51:19 +02:00
Michael Adam
6dd73c2866
test: run smbconftort testsuite from the local_s3 tests
...
Michael
(This used to be commit 6641061f76
)
2008-04-10 01:29:01 +02:00
Stefan Metzmacher
c5cf066c8b
selftest: run the BASE-DELAYWRITE test 4 times faster in make test
...
metze
(This used to be commit 83b6da7c52
)
2008-04-08 18:53:38 +02:00
Stefan Metzmacher
406da3a962
selftest: samba3 passes BASE-DELAYWRITE
...
metze
(This used to be commit 5df3463431
)
2008-04-07 12:29:28 +02:00
Michael Adam
8d7257453c
test: add diagnostic message to net_registry test.
...
Michael
(This used to be commit c04a234f8f
)
2008-04-01 16:16:55 +02:00
Michael Adam
048dcbb75f
test: fix net_registry test "set value to different type" to track error count
...
missing backslash in call... :-}
Michael
(This used to be commit 8f0c25f01f
)
2008-04-01 16:16:55 +02:00
Michael Adam
fd64e6de8c
test: some cosmetics to net_registry tests.
...
Michael
(This used to be commit dba9db5ae6
)
2008-04-01 16:16:55 +02:00
Michael Adam
4a99bce736
test: fix net_registry tests to correctly capture output of commands inside one test
...
so that failure output is not clobbered by output of previous
successful commands.
Michael
(This used to be commit cb3dafe5fd
)
2008-04-01 16:16:55 +02:00
Michael Adam
a63c396679
test: fix use of printf in net_registry tests.
...
actually 'printf "%s\n"' is the proper replacement of 'echo -e'
Michael
(This used to be commit 388a40931f
)
2008-04-01 16:16:55 +02:00
Michael Adam
36ade6136d
mkversion: be more portable, use 'print "%s"' instead of 'echo -n'
...
Michael
(This used to be commit 7a23dab1ea
)
2008-04-01 16:16:55 +02:00
Michael Adam
808378cda2
installswat: be more portable, use 'printf "%s"' instead of 'echo -n'
...
Michael
(This used to be commit 8b015c91c9
)
2008-04-01 16:16:55 +02:00
Michael Adam
52b463917e
test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.sh
...
Michael
(This used to be commit c0c4118427
)
2008-04-01 16:16:55 +02:00
Michael Adam
e61e4eb4e5
test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.sh
...
Michael
(This used to be commit b6122406fe
)
2008-04-01 16:16:54 +02:00
Michael Adam
41281d3525
test: make registry tests more portable: protect some grep patterns in ' '.
...
Michael
(This used to be commit 1cb3b2f065
)
2008-04-01 13:43:30 +02:00
Michael Adam
ff08b55b45
test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'
...
Michael
(This used to be commit 5c1b7ee5c1
)
2008-04-01 13:43:30 +02:00
Michael Adam
96801c3f63
test: add test script for testing "net registry".
...
Michael
(This used to be commit fa5968a26b
)
2008-04-01 00:09:59 +02:00