diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/winreg.c | 6 |
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; |