From 19a295dee8b9b9b9844c564fb5b856c7268f650a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 24 Dec 2010 01:22:24 +0100 Subject: s4-smbtorture: setup help and dependent files in spoolss driver unc path tests. Guenther --- source4/torture/rpc/spoolss.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/torture') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 31b7baf5da..750783b3cb 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -9035,6 +9035,14 @@ static bool test_add_driver_arg(struct torture_context *tctx, if (d->info8.config_file) { info8.config_file = talloc_asprintf(tctx, "%s\\%s", d->remote.driver_directory, d->info8.config_file); } + if (d->info8.help_file) { + info8.help_file = talloc_asprintf(tctx, "%s\\%s", d->remote.driver_directory, d->info8.help_file); + } + if (d->info8.dependent_files && d->info8.dependent_files->string) { + for (i=0; d->info8.dependent_files->string[i] != NULL; i++) { + info8.dependent_files->string[i] = talloc_asprintf(tctx, "%s\\%s", d->remote.driver_directory, d->info8.dependent_files->string[i]); + } + } for (i=0; i < ARRAY_SIZE(levels); i++) { -- cgit