plot2pcl.test 581 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. ../plot/plot -T pcl <$SRCDIR/graph.xout >plot2pcl.out 2>/dev/null
  3. # Two possibilities: either the PCL5 output file isn't allowed to contain
  4. # PS fonts such as Times-Roman, or it is (because the
  5. # --enable-ps-fonts-in-pcl option was added to `configure'). If the
  6. # former, `plot' will replace Times-Roman by the default font, Univers.
  7. if test "$PS_FONTS_IN_PCL" = "0"
  8. then
  9. if cmp -s $SRCDIR/plot2pcl.xout plot2pcl.out
  10. then retval=0;
  11. else retval=1;
  12. fi;
  13. else
  14. if cmp -s $SRCDIR/plot2pcl.yout plot2pcl.out
  15. then retval=0;
  16. else retval=1;
  17. fi;
  18. fi
  19. exit $retval