From: mike Date: Mon, 3 Feb 2003 15:01:50 +0000 (+0000) Subject: Add check for PCFileName attribute, now that we have it... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23f5e659b6041851b25789d2df39b6b1860b59d2;p=thirdparty%2Fcups.git Add check for PCFileName attribute, now that we have it... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@3303 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c index 4e59ae6b8e..6da535523a 100644 --- a/systemv/cupstestppd.c +++ b/systemv/cupstestppd.c @@ -1,5 +1,5 @@ /* - * "$Id: cupstestppd.c,v 1.5 2003/01/29 17:03:38 mike Exp $" + * "$Id: cupstestppd.c,v 1.6 2003/02/03 15:01:50 mike Exp $" * * PPD test program for the Common UNIX Printing System (CUPS). * @@ -297,6 +297,19 @@ main(int argc, /* I - Number of command-line arguments */ puts(" **FAIL** REQUIRED PageRegion"); } + if (ppd->pcfilename != NULL) + { + if (verbose >= 0) + puts(" PASS PCFileName"); + } + else + { + errors ++; + + if (verbose >= 0) + puts(" **FAIL** REQUIRED PCFileName"); + } + if (ppd->product != NULL) { if (verbose >= 0) @@ -466,5 +479,5 @@ main(int argc, /* I - Number of command-line arguments */ /* - * End of "$Id: cupstestppd.c,v 1.5 2003/01/29 17:03:38 mike Exp $". + * End of "$Id: cupstestppd.c,v 1.6 2003/02/03 15:01:50 mike Exp $". */