s4-torture: Enable tests with keynames including a slash.
authorAndreas Schneider <asn@samba.org>
Mon, 28 Jun 2010 07:57:41 +0000 (09:57 +0200)
committerSimo Sorce <idra@samba.org>
Tue, 27 Jul 2010 14:27:15 +0000 (10:27 -0400)
Signed-off-by: Jim McDonough <jmcd@samba.org>
source4/torture/rpc/spoolss.c

index 709d78a0740c448b5e5b5375e5f14fbbb6044dec..8b258b66afd2ceebabba60fc61525f5878f5e9db 100644 (file)
@@ -4338,14 +4338,14 @@ do {\
        }\
 } while(0);
 
-
+#if 0
        if (!test_winreg_symbolic_link(tctx, winreg_handle, hive_handle,
                                       TOP_LEVEL_CONTROL_PRINTERS_KEY,
                                       "\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers"))
        {
                torture_warning(tctx, "failed to check for winreg symlink");
        }
-
+#endif
 
        for (i=0; i < ARRAY_SIZE(keys); i++) {
 
@@ -4828,16 +4828,6 @@ static bool test_SetPrinterDataEx_keys(struct torture_context *tctx,
                struct spoolss_PrinterEnumValues *einfo;
                uint32_t needed;
 
-               if (torture_setting_bool(tctx, "samba3", false)) {
-                       char *q;
-                       q = strrchr(keys[i], '\\');
-                       if (q) {
-                               torture_comment(tctx, "skipping keyname '%s' including '\\' character against Samba3\n",
-                                               keys[i]);
-                               continue;
-                       }
-               }
-
                blob_in = data_blob_talloc(tctx, NULL, 42);
 
                generate_random_buffer(blob_in.data, blob_in.length);