Univention Bugzilla – Bug 34496
ucs-test: Test printer moderation
Last modified: 2015-11-02 12:22:22 CET
The printer moderation module should be tested via ucs-test.
desc: ucs-school-printermoderator-module-check roles: [domaincontroller_master, domaincontroller_backup, domaincontroller_slave, memberserver] packages: [ucs-school-umc-printermoderation] This test checks the following: 1- add printer. 2- check if the printer could be found 3- order print jobs. 4- fetch the ordered print jobs. 5- checks file type of the print jobs. 6- download print jobs. 7- forward printjobs to the created printer. 8- delete print jobs 9- delete the printer
The script currently uses a hardcoded domain part for the spool host "univention.local" which fails on other systems. The code should read the UCR variable "domainname" and use this value instead.
The code now using the ucr variable 'domainname' A changelog entry was added.
Is there a cli-tool like lpr which prints via samba? Then we should use this, too.
(In reply to Florian Best from comment #4) > Is there a cli-tool like lpr which prints via samba? Then we should use > this, too. smbclient is used instead of lpr, see Bug #38423
The test file is: 07_printermoderation_check. (In reply to Ammar Najjar from comment #5) > (In reply to Florian Best from comment #4) > > Is there a cli-tool like lpr which prints via samba? Then we should use > > this, too. > > smbclient is used instead of lpr, see Bug #38423 Please don't use it 'instead of' but use both commands. You can add the skip tag until Bug #38423 and Bug #38230 are released. Please also create users with uppercase character in their username.
(In reply to Florian Best from comment #6) > Please don't use it 'instead of' but use both commands. You can add the skip > tag until Bug #38423 and Bug #38230 are released. Please also create users > with uppercase character in their username. - lpr is used as well as smbclient. - users with mixed letter cases are included in the tests. - script is not skipped. r60511