File: ode.test

package info (click to toggle)
plotutils 2.6-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,040 kB
  • sloc: ansic: 68,670; sh: 20,086; cpp: 12,382; yacc: 2,588; makefile: 838; lex: 137
file content (13 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

../ode/ode <$SRCDIR/../ode-examples/dynamo.ode >ode.out

# work around line end problems in installations with DJGPP under DOS
tr -d '\015' < ode.out > ode.dos

if cmp -s $SRCDIR/ode.xout ode.dos
	then retval=0;
	else retval=1;
	fi;

exit $retval