spline.test 306 B

123456789101112131415
  1. #!/bin/sh
  2. echo 0 1 0.5 0.75 -0.25 0 | ../spline/spline -a -T 1 -n 120 \
  3. --precision 5 -p >spline.out
  4. # work around line end problems in installations with DJGPP under DOS
  5. tr -d '\015' < spline.out > spline.dos
  6. if cmp -s $SRCDIR/spline.xout spline.dos
  7. then retval=0;
  8. else retval=1;
  9. fi;
  10. exit $retval