The branch, master has been updated
       via  714954c s4:torture/rap/printing: check 
smbcli_rap_netprintqgetinfo() WERR status
      from  a6854f2 Fix bug #8664 - Renaming a symlink fails if the symlink 
target is outside of the share.

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


- Log -----------------------------------------------------------------
commit 714954c16f2da11dcf2abda584dc3d7eca8361bb
Author: Stefan Metzmacher <me...@samba.org>
Date:   Fri Dec 16 18:34:57 2011 +0100

    s4:torture/rap/printing: check smbcli_rap_netprintqgetinfo() WERR status
    
    metze
    
    Autobuild-User: Stefan Metzmacher <me...@samba.org>
    Autobuild-Date: Sat Dec 17 01:09:32 CET 2011 on sn-devel-104

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

Summary of changes:
 source4/torture/rap/printing.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rap/printing.c b/source4/torture/rap/printing.c
index 800840c..af76b26 100644
--- a/source4/torture/rap/printing.c
+++ b/source4/torture/rap/printing.c
@@ -129,6 +129,10 @@ static bool test_netprintqgetinfo(struct torture_context 
*tctx,
        torture_assert_ntstatus_ok(tctx,
                smbcli_rap_netprintqgetinfo(cli->tree, tctx, &r),
                "smbcli_rap_netprintqgetinfo failed");
+       torture_assert_werr_equal(tctx,
+                                 W_ERROR(r.out.status),
+                                 WERR_INVALID_PARAMETER,
+                                 "smbcli_rap_netprintqgetinfo failed");
 
        r_enum.in.level = 5;
        r_enum.in.bufsize = 8192;
@@ -153,6 +157,9 @@ static bool test_netprintqgetinfo(struct torture_context 
*tctx,
                        torture_assert_ntstatus_ok(tctx,
                                smbcli_rap_netprintqgetinfo(cli->tree, tctx, 
&r),
                                "smbcli_rap_netprintqgetinfo failed");
+                       torture_assert_werr_ok(tctx,
+                               W_ERROR(r.out.status),
+                               "smbcli_rap_netprintqgetinfo failed");
 
                        switch (r.in.level) {
                        case 0:


-- 
Samba Shared Repository

Reply via email to