File: spline.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 (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

echo 0 1 0.5 0.75 -0.25 0 | ../spline/spline -a -T 1 -n 120 \
	--precision 5 -p >spline.out

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

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

exit $retval