summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-28 09:57:41 +0200
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:15 -0400
commit8fe6813ca0e6ccbe4fed91425f82443f5cb166a4 (patch)
tree1263addb0b00c52c2b4115d1b151233ec5aa6e5d /source4/torture/rpc
parentdb2a777b0ee1e75fb6d11ad1240d7214a4e1dac4 (diff)
downloadsamba-8fe6813ca0e6ccbe4fed91425f82443f5cb166a4.tar.gz
samba-8fe6813ca0e6ccbe4fed91425f82443f5cb166a4.tar.bz2
samba-8fe6813ca0e6ccbe4fed91425f82443f5cb166a4.zip
s4-torture: Enable tests with keynames including a slash.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/spoolss.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 709d78a074..8b258b66af 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);