1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Andrew Bartlett
28ad50e5fd s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scripts
This makes it easier to reproduce these tests outside the test
environment, as we rely less on environment variables.

Andrew Bartlett
2011-09-12 20:42:22 +10:00
Andrew Bartlett
2839391c7d s3-selftest unconditionaly include subunit.sh
we no longer . this file into other shell scripts, so we don't need
this check any more.

Andrew Bartlett
2011-03-29 00:00:23 +02:00
Andrew Bartlett
a82d9e4e72 s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.

Andrew Bartlett
2011-02-22 16:20:10 +11:00
Michael Adam
ae9eca61eb s3:test: remove the give/take admin rights code from the net(rpc)registry test
This is not neede any more.
The token has been fixed at the lower level on the dc.
2011-02-16 15:21:20 +01:00
Michael Adam
df4044ed33 s3:test: move the registry roundtrip test to a test script of its own 2011-02-16 12:56:41 +01:00
Michael Adam
7fb4f2e0d5 s3:test: add comment header to test_net_registry.sh 2011-02-16 12:56:41 +01:00
Michael Adam
dbc7896e33 s3:test: use the blackbox subunit test driver in the net_registry tests. 2011-02-16 12:56:41 +01:00
Gregor Beck
64f8306e8e s3-net: add roundtrip tests for registry import/export 2011-01-21 10:10:03 +01:00
Michael Adam
a2ea85b68d s3:tests: fix misplaced '...' for grep pattern in test_net_registry.sh 2010-09-22 06:30:01 +02:00
Gregor Beck
304271bd8f s3: registry: add tests with empty valuename
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Gregor Beck
12ce164384 s3: registry: let test_setvalue use getvalueraw instead of enumerate
simplifies code, prerequisite to handle empty valuenames

Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Stefan Metzmacher
484c4a5955 Revert "s3:selftest: create BUILTIN\\Administrators at startup"
This reverts commit a849183f94.

This is to racy for most of the build-farm machines,
because winbindd doesn't start fast enough.

metze
2009-02-03 17:07:44 +01:00
Stefan Metzmacher
c0fdc71ecd s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.

metze
2009-01-30 19:48:00 +01:00
Stefan Metzmacher
a849183f94 s3:selftest: create BUILTIN\\Administrators at startup
And add and remove the alias member via net rpc group
instead of net sam.

metze
2009-01-28 17:32:50 +01:00
Michael Adam
5ec52659da s3:test: exit the net rpc registry tests when give_administrative_rights fails
Michael
2009-01-28 12:19:06 +01: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
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
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
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
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
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
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