[cups.general] Compile for 1.4.5 failing on Solaris 10 Update9w/recent critical patch update

Michael Sweet msweet at apple.com
Tue Nov 23 12:40:32 PST 2010


On Nov 23, 2010, at 11:25 AM, John Adams wrote:
> After doing a little tweaking, we got down to three failed tests, all having to do with PDFs, which we can accept as we're just emulating line feed printers.
> 
> Here are the tweaks for those who might want them. All real basic stuff once you know where the pain points are:
> 
> I did this to ppdc/Makefile:
> 
>        #if diff -qr ppd ppd2; then \
>        if diff -r ppd ppd2; then \

Probably really want "if diff -r ppd ppd2 >/dev/null; then" to eliminate any diff output.

> I've also done this to ./test/5.9-lpinfo.sh:
> 
> #echo "    lpinfo -m | grep -q sample.drv"
> #../systemv/lpinfo -m | grep -q sample.drv 2>&1
> echo "    lpinfo -m | grep sample.drv"
> ./systemv/lpinfo -m | grep sample.drv 2>&1

This change shouldn't be necessary - the "-q" option *is* required for POSIX conformance.  Are you picking up the old SunOS version that Sun/Oracle still provides with Solaris, perhaps?

> And these two things to ./test/run-stp-tests.sh:
> 
> #if grep -q CUPS-Get-Default /tmp/cups-$user/log/access_log; then
> if grep CUPS-Get-Default /tmp/cups-$user/log/access_log; then
> 
> #if grep -iq 'testfile.pdf na_letter_8.5x11in' /tmp/cups-$user/log/page_log; then
> if grep -i 'testfile.pdf na_letter_8.5x11in' /tmp/cups-$user/log/page_log; then

Again, "-q" is a required POSIX option.

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list