1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-torture: Enable tests with keynames including a slash.

Signed-off-by: Jim McDonough <jmcd@samba.org>
This commit is contained in:
Andreas Schneider 2010-06-28 09:57:41 +02:00 committed by Simo Sorce
parent db2a777b0e
commit 8fe6813ca0

View 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);