summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/config.mk1
-rw-r--r--source4/torture/local/local.c1
-rw-r--r--source4/torture/rpc/winreg.c3
3 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk
index 56fd65bc9c..f9e3d58d03 100644
--- a/source4/torture/local/config.mk
+++ b/source4/torture/local/config.mk
@@ -26,6 +26,7 @@ OBJ_FILES = \
../../lib/util/tests/strlist.o \
../../lib/util/tests/file.o \
../../lib/util/tests/genrand.o \
+ ../../lib/compression/testsuite.o \
../../lib/charset/testsuite.o \
sddl.o \
../../lib/tdr/testsuite.o \
diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c
index 174596152c..84dca5fcfa 100644
--- a/source4/torture/local/local.c
+++ b/source4/torture/local/local.c
@@ -46,6 +46,7 @@
torture_local_ndr,
torture_local_tdr,
torture_local_charset,
+ torture_local_compression,
torture_local_event,
torture_local_torture,
torture_local_dbspeed,
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 6c607c0806..d2c6ee493b 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -837,8 +837,7 @@ BOOL torture_rpc_winreg(struct torture_context *torture)
}
for (i = 0; i < ARRAY_SIZE(open_fns); i++) {
- if (!test_Open(p, mem_ctx, open_fns[i].name, open_fns[i].fn))
- ret = False;
+ ret &= test_Open(p, mem_ctx, open_fns[i].name, open_fns[i].fn);
}
talloc_free(mem_ctx);