summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-13 17:06:37 +0200
committerGünther Deschner <gd@samba.org>2009-04-13 23:45:37 +0200
commit56f5105400e1eda7baf5babe7ad1e608d0ffa04b (patch)
tree0f982af7797242773b8678ee42893a1bc91120dc
parent0f76e2d0bd8120d27ec6b782da6fb63407012fa2 (diff)
downloadsamba-56f5105400e1eda7baf5babe7ad1e608d0ffa04b.tar.gz
samba-56f5105400e1eda7baf5babe7ad1e608d0ffa04b.tar.bz2
samba-56f5105400e1eda7baf5babe7ad1e608d0ffa04b.zip
s4-smbtorture: disable test_SecondaryClosePrinter when running against s3 for now.
Guenther
-rw-r--r--source4/torture/rpc/spoolss.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 6c78cf3cc2..f4181f4747 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -1658,8 +1658,10 @@ static bool test_OpenPrinter(struct torture_context *tctx,
ret = false;
}
- if (!test_SecondaryClosePrinter(tctx, p, &handle)) {
- ret = false;
+ if (!torture_setting_bool(tctx, "samba3", false)) {
+ if (!test_SecondaryClosePrinter(tctx, p, &handle)) {
+ ret = false;
+ }
}
if (!test_ClosePrinter(tctx, p, &handle)) {
@@ -1758,8 +1760,10 @@ static bool test_OpenPrinterEx(struct torture_context *tctx,
ret = false;
}
- if (!test_SecondaryClosePrinter(tctx, p, &handle)) {
- ret = false;
+ if (!torture_setting_bool(tctx, "samba3", false)) {
+ if (!test_SecondaryClosePrinter(tctx, p, &handle)) {
+ ret = false;
+ }
}
if (!test_ClosePrinter(tctx, p, &handle)) {