1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

292 Commits

Author SHA1 Message Date
Günther Deschner
1e897f6561 s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.
Guenther
2010-06-22 15:57:18 +02:00
Günther Deschner
13ede2bf7a s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname tests.
Guenther
2010-06-22 15:57:12 +02:00
Günther Deschner
e439b6cb8c s4-smbtorture: activate all keys in SetPrinterData keys test.
(just skip some of them still against s3).

Guenther
2010-06-22 15:57:06 +02:00
Günther Deschner
c31ffaf587 s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.
This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx
(and also speeds up the whole testsuite).

Guenther
2010-06-22 15:57:00 +02:00
Günther Deschner
29c0c103af s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.
Guenther
2010-06-05 00:35:09 +02:00
Günther Deschner
bb4693d15e s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via
RPC-SPOOLSS-{addprinter,addprinterex}-testname.

Guenther
2010-06-04 14:24:24 +02:00
Günther Deschner
789125f9a4 s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.
Guenther
2010-06-04 14:24:05 +02:00
Günther Deschner
e65164ff48 s4-smbtorture: convert RPC-SPOOLSS into a torture suite.
Guenther
2010-06-03 18:31:23 +02:00
Günther Deschner
8131e9f290 s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.
Guenther
2010-06-03 14:54:49 +02:00
Günther Deschner
6acaa70d64 s4-smbtorture: add test_PrintProcessors_winreg.
This does cross reference checks between spoolss PrintProcessors and entries
stored in winreg.

Guenther
2010-06-03 13:01:40 +02:00
Günther Deschner
4a10635371 s4-smbtorture: refactor test_EnumPrintProcessors().
Guenther
2010-06-03 13:01:16 +02:00
Günther Deschner
3948876f66 s4-smbtorture: only test data up to a length of 9 bytes in test_SetPrinterDataEx_matrix().
Guenther
2010-06-03 11:46:44 +02:00
Günther Deschner
23eb2888d9 s4-smbtorture: skip driverName and printerName DsSpooler tests for now.
Guenther
2010-06-01 16:49:25 +02:00
Günther Deschner
582847412a s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.
Printjobs are extremely fragile beasts on paused virtual printers within make
test. Very often the printq updater in the background is not fast enough, so
subsequent tests don't get to the updated information. Something to remember and
to work on later...

Guenther
2010-06-01 16:49:24 +02:00
Günther Deschner
7c6be166d0 s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
Guenther
2010-05-20 22:49:51 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Andreas Schneider
9c5a59b11e s4-torture: Added the printername to the AddPrinter comment.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:16 +02:00
Andreas Schneider
f5e41c5cde s4-torture: Fixed spoolss dsspooler printername test.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:05 +02:00
Günther Deschner
37e9019119 s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.

Guenther
2010-04-28 17:06:17 +02:00
Günther Deschner
6cb21806e8 s4-smbtorture: add a test that adds a printer incl. devicemode.
Guenther
2010-04-28 17:06:17 +02:00
Günther Deschner
a53b09141c s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
Guenther
2010-04-28 15:11:41 +02:00
Günther Deschner
d6d8c3ffe3 s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
b87b1de834 s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
2af449391b s4-smbtorture: be more liberal when spoolss_SetJob fails.
For some reason, spoolss_SetJob pausing and resuming of printjob is still racy
on the buildfarm. Converting the fatal assert to a warning for now.

Guenther
2010-04-28 00:10:40 +02:00
Günther Deschner
158d41b6b4 s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
Guenther
2010-04-27 17:56:50 +02:00
Günther Deschner
a2b8e28aef s4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.
Guenther
2010-04-27 16:42:16 +02:00
Günther Deschner
f44cec7b60 s4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.
Guenther
2010-04-27 16:42:16 +02:00
Günther Deschner
a0fd53e388 s4-smbtorture: mention architecture of added drivers in debug output.
Guenther
2010-04-27 16:42:16 +02:00
Günther Deschner
b40d2815cd s4-smbtorture: make sure to not attempt to remove a driver file twice.
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
ad80131bb1 s4-smbtorture: setup all members of level 3,4,6,8 driver add.
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
fc3e959506 s4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS-PRINTER test.
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
12cf6dc8ee s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
b062cac6c4 s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
6beec1a04d s4-smbtorture: skip tests when no local driver directory is around.
Guenther
2010-04-23 13:52:19 +02:00
Günther Deschner
ca0e5ea833 s4-smbtorture: use server_name for all printerdriver delete and enum operations.
With this s3 passes the RPC-PRINTER-DRIVER test.

Guenther
2010-04-23 11:41:25 +02:00
Günther Deschner
4be5d59c4f s4-smbtorture: allow to upload or remove any file belonging to a driver.
Guenther
2010-04-23 11:41:24 +02:00
Günther Deschner
587921b7da s4-smbtorture: fix test_EnumPrinterDrivers_findone().
Guenther
2010-04-23 03:03:59 +02:00
Günther Deschner
20133cfe56 s4-smbtorture: samba currently supports level 3 and 6 driver adds.
Guenther
2010-04-23 02:49:42 +02:00
Günther Deschner
f6bdfd9423 s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER.
Guenther
2010-04-23 02:16:59 +02:00
Günther Deschner
74592f47f5 s4-smbtorture: allow to upload and later remove printer driver files in RPC-SPOOLSS-DRIVER.
Guenther
2010-04-23 02:16:28 +02:00
Günther Deschner
29775e39b1 s4-smbtorture: add RPC-SPOOLSS-DRIVER test.
Guenther
2010-04-23 02:16:09 +02:00
Günther Deschner
431faed5f4 s4-smbtorture: rework EnumPrinterDrivers tests a bit.
Guenther
2010-04-23 02:15:13 +02:00
Günther Deschner
6bf4dbb955 s4-smbtorture: add spoolss DriverInfo and winreg consistency test.
Guenther
2010-04-20 20:02:53 +02:00
Günther Deschner
0833c9639e s4-smbtorture: add function to get a printserver's environment.
Guenther
2010-04-20 19:29:12 +02:00
Günther Deschner
545ef2ca76 s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.
Guenther
2010-04-20 18:16:03 +02:00
Günther Deschner
e647b8c61f s4-smbtorture: refactor test_GetPrinterDriver2().
Guenther
2010-04-20 17:01:48 +02:00
Günther Deschner
4f5298cbb4 s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.
Suprisingly, that value is always 0 (at least on w2k8r2).

Guenther
2010-04-20 14:34:55 +02:00
Stefan Metzmacher
c85884ecc8 s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
e1e2195a4a s4:torture/rpc: rename rpc.h => torture_rpc.h
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.

For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.

metze
2010-04-14 20:27:11 +02:00
Stefan Metzmacher
4cff89a585 s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
metze
2010-04-13 09:55:56 +02:00