summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use correct size for test string, sizeof() was of the pointerAndrew Bartlett2014-09-081-1/+1
| | | | | | | | Found by AddressSanitizer Change-Id: Ifc9883d958f253df903775544010c0228a102f0f Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
* registry: Fix Coverity ID 1034918 Wrong sizeof argumentVolker Lendecke2013-11-111-2/+2
| | | | | | | | sizeof(data_val) is the size of the pointer. This might well be 8 bytes where the string is only 4 bytes long Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* registry: Fix Coverity ID 1034917 Wrong sizeof argumentVolker Lendecke2013-11-111-2/+3
| | | | | | | | sizeof(data_val) is the size of the pointer. This might well be 8 bytes where the string is only 4 bytes long Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* registry: Fix Coverity ID 1034916 Wrong sizeof argumentVolker Lendecke2013-11-111-1/+2
| | | | | | | | sizeof(data_val) is the size of the pointer. This might well be 8 bytes where the string is only 4 bytes long Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* s4:registry:testsuite: fix use of non-existent word (existant)Michael Adam2012-06-121-3/+3
|
* Remove the 'dir' registry backend.Jelmer Vernooij2011-12-291-39/+0
| | | | This backend was incomplete, and we already have plenty of other backends.
* s4:lib/registry - enhance registry tests in respect to default valuesMatthias Dieter Wallnöfer2011-11-031-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
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-3/+3
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* lib/registry/tests: Fix prototypes.Jelmer Vernooij2011-03-194-4/+4
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-114-4/+4
| | | | | | | | 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
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-211-60/+0
|
* s4:lib/registry/tests/registry.c - test recursive key generationMatthias Dieter Wallnöfer2010-07-011-8/+3
|
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-3/+6
| | | | setUp methods are called, fix formatting.
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-183-27/+19
|
* s4:registry/tests/diff.c - try to make also this test compatible with ↵Matthias Dieter Wallnöfer2010-03-301-4/+5
| | | | big-endian platforms
* s4:registry/tests/hive.c - make the test compatible with big-endian platformsMatthias Dieter Wallnöfer2010-03-301-41/+27
|
* s4:registry/tests/generic.c - fix the DWORD_* types test to work also ↵Matthias Dieter Wallnöfer2010-03-291-6/+6
| | | | against big endian platforms
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* s4:registry - adaptions for "add memory contexts for delete value/key functions"Matthias Dieter Wallnöfer2010-03-222-10/+10
|
* s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"Matthias Dieter Wallnöfer2010-03-211-1/+1
| | | | | Further tests show that (at least per default) there aren't any differences between them.
* s4:registry - check also for other registry value types in the generic testMatthias Dieter Wallnöfer2010-03-161-0/+16
|
* s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatypeMatthias Dieter Wallnöfer2010-03-161-0/+14
|
* s4:registry - local testsuite - add a test for REG_QWORDMatthias Dieter Wallnöfer2010-03-151-1/+15
| | | | | Change also here to fixed-length HEX values output to test for the right representation.
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-011-6/+6
|
* Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-011-3/+3
| | | | consistency with Samba 3.
* Use plain Python C API for registry module, rather than SWIG.Jelmer Vernooij2008-12-181-1/+1
|
* Remove more usages of global_loadparm.Jelmer Vernooij2008-10-241-1/+1
|
* Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2008-10-241-3/+3
| | | | make them wrappers around convert_string{,talloc}_convenience().
* Use UTF8 rather than the possibly different UNIX charset.Matthias Dieter Wallnöfer2008-09-301-3/+3
|
* Cope with new event context parameter in API and removed parameters to ↵Jelmer Vernooij2008-05-231-6/+6
| | | | | | reg_open_local(). (This used to be commit 0d5752c940360a0ceb5e23cd6f71cbc61271137a)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into registryJelmer Vernooij2008-05-233-31/+46
|\ | | | | | | (This used to be commit e8d96b61db1cddc2d8dca45e6e9b53d5c31ee5d4)
| * Move more modules inside of the samba package.Jelmer Vernooij2008-05-211-1/+1
| | | | | | | | (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
| * More endian fixes in the registryAndrew Bartlett2008-04-171-5/+5
| | | | | | | | (This used to be commit b26662be196a84237543eb90d6e08809489df3a9)
| * Fix typoAndrew Bartlett2008-04-171-1/+1
| | | | | | | | (This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)
| * More work to avoid endian bugs in registry tests.Andrew Bartlett2008-04-171-5/+7
| | | | | | | | | | Andrew Bartlett (This used to be commit 500544f4127d4042ab5ea8e3800156246982c297)
| * Fix bug in registry test on big-endian machines.Andrew Bartlett2008-04-172-19/+32
| | | | | | | | | | Andrew Bartlett (This used to be commit c74c67c38383b43efd707934e8c457b757e49db1)
| * Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-172-2/+2
| | | | | | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
| * Remove unused arguments from reg_open_local().Jelmer Vernooij2008-04-161-1/+1
| | | | | | | | (This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
* | Fix formatting, remove unused function.Jelmer Vernooij2008-04-151-14/+3
| | | | | | | | (This used to be commit 6ec206ba58777395b2d1251680b21648f4c0f78e)
* | More patchfile fixes. Write support should work now.Wilco Baan Hofman2008-04-151-7/+15
| | | | | | | | (This used to be commit cc38f2f086b92bbe65bd6e7f4e03fdf7f21ef2f6)
* | Fix PReg write support.Wilco Baan Hofman2008-04-151-8/+11
| | | | | | | | | | Add tests for patch files (.REG and PReg). (This used to be commit 497977c36c621a4820be51cbcb7b78eac1e292b7)
* | Fixed the patchfile tests and tidy up the patchfile backends.Wilco Baan Hofman2008-04-151-21/+211
| | | | | | | | (This used to be commit 6e9b1e35a269af2eda79356c1525f5413656d648)
* | Remove debug stuff.Wilco Baan Hofman2008-04-141-1/+0
| | | | | | | | (This used to be commit 7ba2e5dc5b6d82457c298f7ecdb6baea43f04854)
* | Add support for security descriptors. Also patched the regf backend to ↵Wilco Baan Hofman2008-04-142-5/+59
|/ | | | | | | support this. Did not touch the ldb, dir and rpc backends yet. (This used to be commit c4626f21a898da27a051f2c67f8fd73f55d4fc7d)
* Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij2008-04-131-1/+1
| | | | (This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
* Use new torture_assert_mem_equal.Jelmer Vernooij2008-04-131-1/+1
| | | | (This used to be commit b6319b64d7ef9c58f771f338317d4d525d39a8f2)
* Attempt to fix get_value() test on sparc machines.Jelmer Vernooij2008-04-131-1/+1
| | | | (This used to be commit 10102d80d0f78777a69f6b3b1e5606d7d56b7254)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-1/+1
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* Convert some more files to GPLv3.Andrew Kroeger2008-03-282-2/+2
| | | | (This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
* Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij2008-03-031-1/+3
|\ | | | | | | (This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)