From 8fe6813ca0e6ccbe4fed91425f82443f5cb166a4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 28 Jun 2010 09:57:41 +0200 Subject: s4-torture: Enable tests with keynames including a slash. Signed-off-by: Jim McDonough --- source4/torture/rpc/spoolss.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 709d78a0740..8b258b66afd 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -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); -- cgit