diff options
author | Günther Deschner <gd@samba.org> | 2009-02-20 14:22:39 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-21 21:13:59 +0100 |
commit | 24373c16a5b3e96ea3adc18e7aac837be59fb2c2 (patch) | |
tree | 20389f62c3a51d73274a701bf908ef2294062a11 /source4/torture | |
parent | 3bd612527d9c25ee5a7f33fce0ba2902bb15a4d6 (diff) | |
download | samba-24373c16a5b3e96ea3adc18e7aac837be59fb2c2.tar.gz samba-24373c16a5b3e96ea3adc18e7aac837be59fb2c2.tar.bz2 samba-24373c16a5b3e96ea3adc18e7aac837be59fb2c2.zip |
s4-smbtorture: fix eventlog getinformation test.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/eventlog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c index 2fd9d923f1..10c4886259 100644 --- a/source4/torture/rpc/eventlog.c +++ b/source4/torture/rpc/eventlog.c @@ -306,7 +306,7 @@ static bool test_GetLogInformation(struct torture_context *tctx, struct dcerpc_pipe *p) { NTSTATUS status; - struct eventlog_GetLogIntormation r; + struct eventlog_GetLogInformation r; struct eventlog_CloseEventLog cr; struct policy_handle handle; uint32_t bytes_needed = 0; @@ -320,14 +320,14 @@ static bool test_GetLogInformation(struct torture_context *tctx, r.out.buffer = NULL; r.out.bytes_needed = &bytes_needed; - status = dcerpc_eventlog_GetLogIntormation(p, tctx, &r); + status = dcerpc_eventlog_GetLogInformation(p, tctx, &r); torture_assert_ntstatus_equal(tctx, status, NT_STATUS_INVALID_LEVEL, "GetLogInformation failed"); r.in.level = 0; - status = dcerpc_eventlog_GetLogIntormation(p, tctx, &r); + status = dcerpc_eventlog_GetLogInformation(p, tctx, &r); torture_assert_ntstatus_equal(tctx, status, NT_STATUS_BUFFER_TOO_SMALL, "GetLogInformation failed"); @@ -335,7 +335,7 @@ static bool test_GetLogInformation(struct torture_context *tctx, r.in.buf_size = bytes_needed; r.out.buffer = talloc_array(tctx, uint8_t, bytes_needed); - status = dcerpc_eventlog_GetLogIntormation(p, tctx, &r); + status = dcerpc_eventlog_GetLogInformation(p, tctx, &r); torture_assert_ntstatus_ok(tctx, status, "GetLogInformation failed"); |