summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-04-11 16:04:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:13 -0500
commit07afafd45df34c4617c9e3e31bcd3130a9e255e3 (patch)
tree3f96edfaabd2248f7a7318c72ecee0dbfddd7fd0 /source4/torture/rpc
parent6df152f96495e68426a52bf62be2c44900b7e8cf (diff)
downloadsamba-07afafd45df34c4617c9e3e31bcd3130a9e255e3.tar.gz
samba-07afafd45df34c4617c9e3e31bcd3130a9e255e3.tar.bz2
samba-07afafd45df34c4617c9e3e31bcd3130a9e255e3.zip
r165: Add support for viewing registry values in gregedit
(This used to be commit 1d8a6d762aa4dab54bb58959cb1e7957a76e5b6e)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/winreg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 68466f0084..42326b1468 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -407,8 +407,9 @@ static BOOL test_AbortSystemShutdown(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
{
struct winreg_AbortSystemShutdown r;
NTSTATUS status;
+ uint16 server = 0x0;
- r.in.server = 0x0;
+ r.in.server = &server;
status = dcerpc_winreg_AbortSystemShutdown(p, mem_ctx, &r);
@@ -557,6 +558,9 @@ BOOL torture_rpc_winreg(int dummy)
if(!test_InitiateSystemShutdown(p, mem_ctx, "spottyfood", 30))
ret = False;
+ if(!test_AbortSystemShutdown(p, mem_ctx))
+ ret = False;
+
for (i = 0; i < ARRAY_SIZE(open_fns); i++) {
if (!test_Open(p, mem_ctx, open_fns[i]))
ret = False;