File: plot2ps.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 274 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

../plot/plot -T ps <$SRCDIR/graph.xout >plot2ps.out

egrep -v CreationDate $SRCDIR/plot2ps.xout > plot2ps0.out
egrep -v CreationDate plot2ps.out > plot2ps1.out
rm plot2ps.out

if cmp -s plot2ps0.out plot2ps1.out
	then retval=0;
	else retval=1;
	fi;

exit $retval