s4:torture:smb2:durable_v2 let print test_persistent_open_xxx if the share is CA
authorGregor Beck <gbeck@sernet.de>
Tue, 28 May 2013 13:53:27 +0000 (15:53 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 9 May 2014 10:58:15 +0000 (12:58 +0200)
source4/torture/smb2/durable_v2_open.c

index c223fa2e4a2b94cbf40ef2fb9e80c8d207a8e909..4088b952f942060eefbc0202ac9818c40737356d 100644 (file)
@@ -1655,6 +1655,8 @@ bool test_persistent_open_oplock(struct torture_context *tctx,
        share_capabilities = smb2cli_tcon_capabilities(tree->smbXcli);
        share_is_ca = share_capabilities & SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY;
 
+       torture_comment(tctx, "persistent_open_oplock: share is%s CA\n", share_is_ca ? "" : " not");
+
        if (share_is_ca) {
                table = persistent_open_oplock_ca_table;
        } else {
@@ -1748,6 +1750,8 @@ bool test_persistent_open_lease(struct torture_context *tctx,
        share_capabilities = smb2cli_tcon_capabilities(tree->smbXcli);
        share_is_ca = share_capabilities & SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY;
 
+       torture_comment(tctx, "persistent_open_lease: share is%s CA\n", share_is_ca ? "" : " not");
+
        if (share_is_ca) {
                table = persistent_open_lease_ca_table;
        } else {