]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add check for PCFileName attribute, now that we have it...
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 3 Feb 2003 15:01:50 +0000 (15:01 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 3 Feb 2003 15:01:50 +0000 (15:01 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@3303 7a7537e8-13f0-0310-91df-b6672ffda945

systemv/cupstestppd.c

index 4e59ae6b8eceb96276f7384ffc037f64aa56ef8a..6da535523af13c695727e15530f168be63bb2726 100644 (file)
@@ -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 $".
  */