summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tests/registry.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-03s4:lib/registry - enhance registry tests in respect to default valuesMatthias Dieter Wallnöfer1-1/+54
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 3 21:41:17 CET 2011 on sn-devel-104
2011-03-19lib/registry/tests: Fix prototypes.Jelmer Vernooij1-0/+1
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-1/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-07-01s4:lib/registry/tests/registry.c - test recursive key generationMatthias Dieter Wallnöfer1-8/+3
2010-03-22s4:registry - adaptions for "add memory contexts for delete value/key functions"Matthias Dieter Wallnöfer1-3/+3
2008-05-23Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into registryJelmer Vernooij1-16/+22
(This used to be commit e8d96b61db1cddc2d8dca45e6e9b53d5c31ee5d4)
2008-04-17More endian fixes in the registryAndrew Bartlett1-5/+5
(This used to be commit b26662be196a84237543eb90d6e08809489df3a9)
2008-04-17Fix typoAndrew Bartlett1-1/+1
(This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)
2008-04-17More work to avoid endian bugs in registry tests.Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit 500544f4127d4042ab5ea8e3800156246982c297)
2008-04-17Fix bug in registry test on big-endian machines.Andrew Bartlett1-6/+10
Andrew Bartlett (This used to be commit c74c67c38383b43efd707934e8c457b757e49db1)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-1/+1
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-16Remove unused arguments from reg_open_local().Jelmer Vernooij1-1/+1
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
2008-04-14Add support for security descriptors. Also patched the regf backend to ↵Wilco Baan Hofman1-4/+4
support this. Did not touch the ldb, dir and rpc backends yet. (This used to be commit c4626f21a898da27a051f2c67f8fd73f55d4fc7d)
2008-04-13Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-13Use new torture_assert_mem_equal.Jelmer Vernooij1-1/+1
(This used to be commit b6319b64d7ef9c58f771f338317d4d525d39a8f2)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger1-1/+1
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-01-18registry: Use correct return values.Jelmer Vernooij1-1/+1
(This used to be commit 98ebdbe52fd615ea62a3caa17acfe8bb31b8f85d)
2008-01-18registry: Avoid mapping registry return codes: return the right value in the ↵Jelmer Vernooij1-1/+1
first place. (This used to be commit 434e4857cec17d6d9e8983e151c170eed59fc6d1)
2008-01-18registry: Improve error codes and update tests.Jelmer Vernooij1-8/+8
Rather than map the error returned by the registry to the correct error, return the correct error in the first place. Also deal with the fact that the right error code is now returned in a couple of places. (This used to be commit 1e31fcb8a097810a97e2d4bb1f243f1b34cc2415)
2008-01-07r26689: registry: Return max_subkeynamelen, max_valnamelen and ↵Jelmer Vernooij1-2/+2
max_valbufsize in getkeyinfo(). (This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
2007-12-26r26589: torture: Add non-const version of torture_tcase_add_simple_testKai Blin1-97/+73
(This used to be commit 1ae9cde5105cc4349a44e6098e9393e06acaf95d)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-36/+37
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26451: Janitorial: fix warnings in lib/registry/Kai Blin1-1/+1
This does not fix the discarded qualifier warnings in tests, as the test data is currently passed as const. Jelmer wants to provide a test function that passes non-const test data, thus allowing for a cleaner way to fix those warnings. (This used to be commit 46dfa63d4f7381c5c6ce3f4b8b0bd9aa9e16950c)
2007-12-21r26443: Remove global_loadparm instances.Jelmer Vernooij1-1/+1
(This used to be commit 8242c696235d1bfb402b5c276a57f36d93610545)
2007-12-21r25932: Remove unnecessary include - should fix the build on hosts without popt.Jelmer Vernooij1-1/+0
(This used to be commit f250ae0c361aef864f25dfc7599ce1e7a4e29cf8)
2007-12-21r25803: Make our security descriptor acl manipulation methods more generic ↵Günther Deschner1-1/+1
so that we can add and delete ACEs for SACLs as well as for DACLs. Guenther (This used to be commit 947fff994181f0ae50ac76d09621ddd684873112)
2007-12-21r25607: Allow to set security descriptor type flags at creation time withGünther Deschner1-0/+1
security_descriptor_create(). Guenther (This used to be commit 7dd0d28d254f78891b0807492baafa188b42df16)
2007-12-21r25605: Last round of registry reformats (before this gets an obsession...).Günther Deschner1-141/+171
Guenther (This used to be commit ceb2ebfbf1eeb80bd34beadbba3a3c7a04da306a)
2007-10-10r25112: make torture_temp_dir() available via tortore/torture.hStefan Metzmacher1-3/+0
and return more detailed errors metze (This used to be commit c2b645c8763fd75a0a81983ec44a5990670c4fc4)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-17/+34
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures.Jelmer Vernooij1-27/+15
(This used to be commit 527ea7fccf4ace9cd9cbacf49820ecd208b8d570)
2007-10-10r24726: Add tests for getting/setting security descriptors (still failing at ↵Jelmer Vernooij1-0/+37
the moment) (This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)
2007-10-10r24718: Fix some compiler warnings.Jelmer Vernooij1-1/+1
(This used to be commit 08f7389ab7312d350e056b1ba98da86d80944424)
2007-10-10r24683: Add two more tests.Jelmer Vernooij1-0/+35
(This used to be commit c87576743b09773489478e6eebeb3a282d6ec21b)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij1-0/+21
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-0/+486
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)