summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-11-29 17:59:31 +0100
committerGünther Deschner <gd@samba.org>2010-11-29 18:47:17 +0100
commit53712fbb4fa1988480467e73b3b1ea88f9584abb (patch)
tree1c35ef598e2d1d9b26050e56e80521ea72fc0cfb /source4/torture
parentc62509c8f2589e7b952517626d61ee34b83e96b3 (diff)
downloadsamba-53712fbb4fa1988480467e73b3b1ea88f9584abb.tar.gz
samba-53712fbb4fa1988480467e73b3b1ea88f9584abb.tar.bz2
samba-53712fbb4fa1988480467e73b3b1ea88f9584abb.zip
s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index fe9436fbfb..dfd1c7ee33 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -9003,6 +9003,10 @@ static bool test_add_driver_adobe_cupsaddsmb(struct torture_context *tctx,
struct torture_driver_context *d;
struct spoolss_StringArray *a;
+ if (!torture_setting_bool(tctx, "samba3", false)) {
+ torture_skip(tctx, "skipping cupsaddsmb test which only works against samba3");
+ }
+
d = talloc_zero(tctx, struct torture_driver_context);
d->info8.version = SPOOLSS_DRIVER_VERSION_9X;