1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4-smbtorture: disable test_SecondaryClosePrinter when running against s3 for now.

Guenther
This commit is contained in:
Günther Deschner 2009-04-13 17:06:37 +02:00
parent 0f76e2d0bd
commit 56f5105400

View File

@ -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)) {