summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorMichael Hanselmann <public@hansmi.ch>2019-03-19 00:47:52 +0100
committerAndrew Bartlett <abartlet@samba.org>2019-03-20 05:26:18 +0000
commit9b2cb845b23cd1c91ab3b5ea8ad791b18b3ab733 (patch)
tree4e8ff0b03d2f86326fbdcb3a54e27a484f803600 /source3/wscript_build
parentaa6b355858a0d8b77bf49384e5329642add1a5ff (diff)
downloadsamba-9b2cb845b23cd1c91ab3b5ea8ad791b18b3ab733.tar.gz
regfio: Add trivial unit test
An upcoming commit will resolve two cases of insufficient handling of mangled registry hive files and will include unit tests. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13840 Signed-off-by: Michael Hanselmann <public@hansmi.ch> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index ed4de978fdc..e633c7046ca 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -203,6 +203,12 @@ bld.SAMBA3_SUBSYSTEM('REGFIO',
source='registry/regfio.c',
deps='samba-util REG_PARSE_PRS')
+bld.SAMBA_BINARY('test_registry_regfio',
+ source='registry/tests/test_regfio.c',
+ deps='cmocka samba3-util smbconf REGFIO',
+ local_include=False,
+ install=False)
+
bld.SAMBA3_SUBSYSTEM('REG_API_REGF',
source='registry/reg_api_regf.c',
deps='samba-util')