File: plot2cgm.test

package info (click to toggle)
plotutils 2.5-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 12,820 kB
  • ctags: 6,774
  • sloc: ansic: 68,284; cpp: 12,382; sh: 10,469; yacc: 2,588; makefile: 903; lex: 137
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