summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-05 01:50:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:13 -0500
commit1d75e907e28fa0ee21c4693cbac9e0cdfb11c111 (patch)
tree61c045f1986474deb6e6839b75ff36d5832052b9 /source4/torture/rpc
parent0a28fbae1b7c00a32fe5b3d8bfa1cb0d8c8d4a85 (diff)
downloadsamba-1d75e907e28fa0ee21c4693cbac9e0cdfb11c111.tar.gz
samba-1d75e907e28fa0ee21c4693cbac9e0cdfb11c111.tar.bz2
samba-1d75e907e28fa0ee21c4693cbac9e0cdfb11c111.zip
r21694: Some more testing updates.
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/winreg.c3
1 files changed, 1 insertions, 2 deletions
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);