summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_net_registry.sh
AgeCommit message (Collapse)AuthorFilesLines
2011-09-12s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scriptsAndrew Bartlett1-3/+4
This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
2011-03-29s3-selftest unconditionaly include subunit.shAndrew Bartlett1-2/+0
we no longer . this file into other shell scripts, so we don't need this check any more. Andrew Bartlett
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett1-1/+11
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-16s3:test: remove the give/take admin rights code from the net(rpc)registry testMichael Adam1-44/+0
This is not neede any more. The token has been fixed at the lower level on the dc.
2011-02-16s3:test: move the registry roundtrip test to a test script of its ownMichael Adam1-85/+0
2011-02-16s3:test: add comment header to test_net_registry.shMichael Adam1-2/+6
2011-02-16s3:test: use the blackbox subunit test driver in the net_registry tests.Michael Adam1-4/+3
2011-01-21s3-net: add roundtrip tests for registry import/exportGregor Beck1-0/+88
2010-09-22s3:tests: fix misplaced '...' for grep pattern in test_net_registry.shMichael Adam1-1/+1
2010-05-21s3: registry: add tests with empty valuenameGregor Beck1-13/+25
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21s3: registry: let test_setvalue use getvalueraw instead of enumerateGregor Beck1-22/+6
simplifies code, prerequisite to handle empty valuenames Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-03Revert "s3:selftest: create BUILTIN\\Administrators at startup"Stefan Metzmacher1-5/+10
This reverts commit a849183f9492d09ccd7e273f955d4d8f2668fdf3. This is to racy for most of the build-farm machines, because winbindd doesn't start fast enough. metze
2009-01-30s3:tests: add a guard arround . $incdir/test_functions.shStefan Metzmacher1-0/+2
So that caller can overwrite the functions. metze
2009-01-28s3:selftest: create BUILTIN\\Administrators at startupStefan Metzmacher1-10/+5
And add and remove the alias member via net rpc group instead of net sam. metze
2009-01-28s3:test: exit the net rpc registry tests when give_administrative_rights failsMichael Adam1-2/+5
Michael
2008-07-20testsuite: fix expr syntax error in net registry test.Michael Adam1-1/+1
Pointed out by Björn Jacke <bj@sernet.de>. Michael (This used to be commit 87e02bca04cb26d0d237f3ccd17be0ba2dd6d85f)
2008-07-09testsuite: fix another expr typo in net registry test script.Michael Adam1-1/+1
Michael (This used to be commit 73312e4e21b6d14363bd0987e0c9716c4ec91834)
2008-07-09testsuite: fix expr typo in net registry testscript.Michael Adam1-1/+1
Michael (This used to be commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae)
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-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-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-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-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 Adam1-0/+378
Michael (This used to be commit fa5968a26b552d7f13574a826e506ed2d6630feb)