File: plot2cgm.test

package info (click to toggle)
plotutils 2.4.1-11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,676 kB
  • ctags: 6,967
  • sloc: ansic: 76,305; sh: 15,172; cpp: 12,403; yacc: 2,604; makefile: 888; lex: 144
file content (14 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

CGM_ENCODING=clear_text BG_COLOR=white ../plot/plot -T cgm <$SRCDIR/graph.xout >plot2cgm.out

egrep -v MFDESC $SRCDIR/plot2cgm.xout > plot2cg0.out
egrep -v MFDESC plot2cgm.out > plot2cg1.out
rm plot2cgm.out

if cmp -s plot2cg0.out plot2cg1.out
	then retval=0;
	else retval=1;
	fi;

exit $retval