diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-18 12:05:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:31 -0500 |
commit | 2503fe22734f361159672a3bd9c213c1ad1055b4 (patch) | |
tree | 3a7cc0c6e742da2eeafde8b98d767a340f7dc9aa /source4/torture | |
parent | e55e7c96f86d3ac69be083edbe3f51adccc6c017 (diff) | |
download | samba-2503fe22734f361159672a3bd9c213c1ad1055b4.tar.gz samba-2503fe22734f361159672a3bd9c213c1ad1055b4.tar.bz2 samba-2503fe22734f361159672a3bd9c213c1ad1055b4.zip |
r21424: Add FindClosePrinterNotify.
(This used to be commit 0ed195f45fed12905278ba60eabe02a11b59eb90)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ndr/spoolss.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/torture/ndr/spoolss.c b/source4/torture/ndr/spoolss.c index c28cc4ea41..2888efd4a3 100644 --- a/source4/torture/ndr/spoolss.c +++ b/source4/torture/ndr/spoolss.c @@ -231,6 +231,15 @@ static const uint8_t enumprinterkey_out_data[] = { 0x00, 0x00, 0x00, 0x00, 0x5c, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00 }; +static const uint8_t FCPN_in_data[] = { + 0x00, 0x00, 0x00, 0x00, 0x03, 0xfc, 0xcf, 0xe5, 0x98, 0xfd, 0x15, 0x4b, + 0xba, 0x28, 0x03, 0x70, 0x74, 0x35, 0x8d, 0x14 +}; + +static const uint8_t FCPN_out_data[] = { + 0x00, 0x00, 0x00, 0x00 +}; + struct torture_suite *ndr_spoolss_suite(TALLOC_CTX *ctx) { struct torture_suite *suite = torture_suite_create(ctx, "spoolss"); @@ -265,5 +274,8 @@ struct torture_suite *ndr_spoolss_suite(TALLOC_CTX *ctx) torture_suite_add_ndr_pull_fn_test(suite, spoolss_EnumPrinterKey, enumprinterkey_in_data, NDR_IN, NULL ); torture_suite_add_ndr_pull_fn_test(suite, spoolss_EnumPrinterKey, enumprinterkey_out_data, NDR_OUT, NULL ); + torture_suite_add_ndr_pull_fn_test(suite, spoolss_FindClosePrinterNotify, FCPN_in_data, NDR_IN, NULL ); + torture_suite_add_ndr_pull_fn_test(suite, spoolss_FindClosePrinterNotify, FCPN_out_data, NDR_OUT, NULL ); + return suite; } |