diff options
author | Andreas Schneider <asn@samba.org> | 2017-08-08 11:25:48 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-08-24 09:30:33 +0200 |
commit | 731fe596ac0999d54aae03ce4175356c56b3c94b (patch) | |
tree | d5cc9122ec25087913d0fc52c3178afca2477466 /source4/torture/rpc | |
parent | f44917743512fa40f2833629dfd781f7c691ce62 (diff) | |
download | samba-731fe596ac0999d54aae03ce4175356c56b3c94b.tar.gz |
s4:torture: Use a different driver name for add_driver tests
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12984
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 89e9a134eff..a6315069bc8 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -47,6 +47,7 @@ #define TORTURE_WELLKNOWN_PRINTER_EX "torture_wkn_printer_ex" #define TORTURE_PRINTER_EX "torture_printer_ex" #define TORTURE_DRIVER "torture_driver" +#define TORTURE_DRIVER_ADD "torture_driver_add" #define TORTURE_DRIVER_EX "torture_driver_ex" #define TORTURE_DRIVER_ADOBE "torture_driver_adobe" #define TORTURE_DRIVER_EX_ADOBE "torture_driver_ex_adobe" @@ -10932,7 +10933,7 @@ static bool test_add_driver_64(struct torture_context *tctx, d->local.driver_directory = talloc_strdup(d, "/usr/share/cups/drivers/x64"); d->info8.version = SPOOLSS_DRIVER_VERSION_200X; - d->info8.driver_name = TORTURE_DRIVER; + d->info8.driver_name = TORTURE_DRIVER_ADD; d->info8.architecture = d->local.environment; d->info8.driver_path = talloc_strdup(d, "pscript5.dll"); d->info8.data_file = talloc_strdup(d, "cups6.ppd"); @@ -10953,7 +10954,7 @@ static bool test_add_driver_32(struct torture_context *tctx, d->local.driver_directory = talloc_strdup(d, "/usr/share/cups/drivers/i386"); d->info8.version = SPOOLSS_DRIVER_VERSION_200X; - d->info8.driver_name = TORTURE_DRIVER; + d->info8.driver_name = TORTURE_DRIVER_ADD; d->info8.architecture = d->local.environment; d->info8.driver_path = talloc_strdup(d, "pscript5.dll"); d->info8.data_file = talloc_strdup(d, "cups6.ppd"); |