summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-24 01:22:24 +0100
committerGünther Deschner <gd@samba.org>2011-01-04 10:33:55 +0100
commit19a295dee8b9b9b9844c564fb5b856c7268f650a (patch)
tree0940ebe93e530fb2875cabc843a1309982cee24b /source4
parent8fc28818b974042712b5c11776de0562755ed59d (diff)
downloadsamba-19a295dee8b9b9b9844c564fb5b856c7268f650a.tar.gz
samba-19a295dee8b9b9b9844c564fb5b856c7268f650a.tar.bz2
samba-19a295dee8b9b9b9844c564fb5b856c7268f650a.zip
s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/spoolss.c8
1 files changed, 8 insertions, 0 deletions
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++) {