The branch, master has been updated
       via  9dce43a s4-smbtorture: run the winreg tests also against an added 
driver.
      from  33a57db s4-pydsdb: Use local memory context in 
py_dsdb_get_oid_from_attid()

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9dce43a809eae4b44bf1e2b301844a0753c037e9
Author: Günther Deschner <g...@samba.org>
Date:   Fri Dec 17 16:34:47 2010 +0100

    s4-smbtorture: run the winreg tests also against an added driver.
    
    Guenther
    
    Autobuild-User: Günther Deschner <g...@samba.org>
    Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/rpc/spoolss.c |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 114b3e1..630694d 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -8628,6 +8628,25 @@ static bool test_PrinterDriver_args(struct 
torture_context *tctx,
                return ret;
        }
 
+       {
+               struct dcerpc_pipe *p2;
+               struct policy_handle hive_handle;
+               struct dcerpc_binding_handle *b2;
+
+               torture_assert_ntstatus_ok(tctx,
+                       torture_rpc_connection(tctx, &p2, &ndr_table_winreg),
+                       "could not open winreg pipe");
+               b2 = p2->binding_handle;
+
+               torture_assert(tctx, test_winreg_OpenHKLM(tctx, b2, 
&hive_handle), "");
+
+               ret = test_GetDriverInfo_winreg(tctx, b, NULL, NULL, 
r->driver_name, r->architecture, r->version, b2, &hive_handle, server_name);
+
+               test_winreg_CloseKey(tctx, b2, &hive_handle);
+
+               talloc_free(p2);
+       }
+
        if (ex) {
                return test_DeletePrinterDriverEx(tctx, b, server_name, 
r->driver_name, r->architecture, delete_flags, r->version);
        } else {


-- 
Samba Shared Repository

Reply via email to