plot2cgm.test 306 B

123456789101112131415
  1. #!/bin/sh
  2. CGM_ENCODING=clear_text BG_COLOR=white ../plot/plot -T cgm <$SRCDIR/graph.xout >plot2cgm.out
  3. egrep -v MFDESC $SRCDIR/plot2cgm.xout > plot2cg0.out
  4. egrep -v MFDESC plot2cgm.out > plot2cg1.out
  5. rm plot2cgm.out
  6. if cmp -s plot2cg0.out plot2cg1.out
  7. then retval=0;
  8. else retval=1;
  9. fi;
  10. exit $retval