summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-20s4-torture: add simple tests for spoolss_{Add|Delete}PrintProcessor.Günther Deschner1-0/+101
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20s4-torture: also deal with "Microsoft XPS Document Writer v4" as default driver.Günther Deschner1-1/+12
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20s4-torture: add simple test for spoolss_RpcSendRecvBidiData.Günther Deschner1-0/+44
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20s4-torture: add test for spoolss_RpcEnumJobNamedProperties.Günther Deschner1-0/+293
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20s4-torture: add missing NTSTATUS checks in test_AddJob().Günther Deschner1-0/+2
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-02-22torture: Don't leak file resource handle in spoolss test.Andreas Schneider1-0/+1
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2013-02-22torture: Fix array access in spoolss test.Andreas Schneider1-2/+2
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2013-01-24s4-torture: add some basic tests for PlayGDIScriptOnPrinterIC.Günther Deschner1-1/+110
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Jan 24 19:20:52 CET 2013 on sn-devel-104
2013-01-24spoolss: make spoolss deal with ndr64 StartDocPrinter by using proper ↵Günther Deschner1-2/+6
container object. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2013-01-17spoolss: make spoolss deal with ndr64 SetForm by using proper container object.Günther Deschner1-3/+6
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-01-17spoolss: make spoolss deal with ndr64 AddForm by using proper container object.Günther Deschner1-4/+7
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-01-17spoolss: make spoolss deal with ndr64 ULONG_PTR of devmode_ptr and secdesc_ptr.Günther Deschner1-6/+6
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-01-16spoolss: Make OpenPrinterEx work with NDR64 by using UserInfo Container.Günther Deschner1-18/+17
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-12-12torture: Fix torture_rpc_spoolss_printer_teardown_common().Andreas Schneider1-3/+1
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2012-06-26s3-torture: Use static printer for smbd spooler testDavid Disseldorp1-1/+9
Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Jun 26 18:04:43 CEST 2012 on sn-devel-104
2012-06-26torture: add test for smbd print job spoolingDavid Disseldorp1-0/+73
Clients can print by performing file IO on a printer share, rather than issuing spoolss RPCs. This commit attempts to reproduce bug 8719.
2012-04-25s4:torture:rpc:spoolss: also initialize driverName before checking it in ↵Michael Adam1-0/+1
test_PrinterData_DsSpooler() Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-20torture: add spoolss overlapping driver deletion testsDavid Disseldorp1-1/+118
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Fri Jan 20 18:20:14 CET 2012 on sn-devel-104
2012-01-20torture: confirm printer driver file removalDavid Disseldorp1-1/+81
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-20torture: add spoolss del printer driver testDavid Disseldorp1-0/+63
Test handling of DeletePrinterDriverEx when the DPD_DELETE_ALL_FILES flag is set. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-04-20s4-smbtorture: restructure documentname handling in spoolss test a bit.Günther Deschner1-3/+4
Guenther
2011-02-08s4-smbtorture: add torture test to check proper add and delete driver ↵Günther Deschner1-0/+77
operations. Thanks to Bjoern Baumbach <bb@sernet.de> for pushing us to test and verify this. Guenther
2011-02-08s4-smbtorture: also run the driver timestamp spoolss test against samba.Günther Deschner1-4/+0
Guenther
2011-01-21s4-smbtorture: make sure there is always driverextra data in spoolss devmode ↵Günther Deschner1-2/+10
size tests. Guenther
2011-01-21s4-smbtorture: add tests for the size member of spoolss devicemodes.Günther Deschner1-1/+5
Guenther
2011-01-21s4-smbtorture: prepare devicemode test for expected result tests.Günther Deschner1-9/+15
Guenther
2011-01-21s4-smbtorture: add some paranoia checks for 0 sized devmodes.Günther Deschner1-0/+15
Guenther
2011-01-04s4-smbtorture: check driver_version equality as well.Günther Deschner1-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
2011-01-04s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().Günther Deschner1-6/+13
Guenther
2011-01-04s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 asGünther Deschner1-7/+2
well. Guenther
2011-01-04s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.Günther Deschner1-0/+8
Guenther
2011-01-04s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.Günther Deschner1-0/+2
Guenther
2011-01-04s4-smbtorture: add more tests for driver_dates.Günther Deschner1-0/+39
Guenther
2010-12-22s4-smbtorture: always skip addprinter{ex} level 1 tests for now.Günther Deschner1-4/+6
Guenther
2010-12-22s4-smbtorture: fix expected driver date REG_SZ string.Günther Deschner1-0/+5
This resolves the "WARNING!: ../torture/rpc/spoolss.c:4688: str was 01/01/1601, expected 01/01/1970: "DriverDate" - driver_date mismatch" warnings. Guenther
2010-12-22s4-smbtorture: check the returned driver date is equal to the one we passed in.Günther Deschner1-0/+4
Guenther
2010-12-22s4-smbtorture: interesting, DriverDate and DriverVersion are different in ↵Günther Deschner1-2/+25
w2k3 and w2k8r2. While in w2k8 they are REG_SZ date or numerical strings, they are 8 byte REG_BINARY blobs in w2k3. Guenther
2010-12-20s4-smbtorture: run the winreg tests also against an added driver.Günther Deschner1-0/+19
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.Günther Deschner1-11/+30
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: check if returned driver paths match requested architecture.Günther Deschner1-26/+100
Guenther
2010-12-17s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.Günther Deschner1-7/+9
Guenther
2010-12-17s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: skipping level 8 driveradds against w2k3.Günther Deschner1-1/+18
Guenther
2010-12-14s4-smbtorture: paranoia check for architectures in request and reply for ↵Günther Deschner1-0/+10
enumdrivers test. Guenther
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-4/+4
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-11-29s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104
2010-11-29s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.Günther Deschner1-0/+38
Guenther
2010-11-29s4-smbtorture: make add-printerdriver test more robust against empty ↵Günther Deschner1-1/+3
configfiles. Guenther
2010-11-29s4-smbtorture: make driver upload/removal more robust against empty filenames.Günther Deschner1-2/+2
Guenther
2010-11-29s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.Günther Deschner1-0/+28
Guenther