Fixed problem finding createdb and psql binaries.
[pspp-builds.git] / tests / command / sort.sh
index 1eb4d855ae59560860cf5f0169d32a96bfe2271a..c3c96a35456b56d76db8bf76b9e6067cdf6e8867 100755 (executable)
@@ -4,6 +4,7 @@
 
 TEMPDIR=/tmp/pspp-tst-$$
 TESTFILE=$TEMPDIR/`basename $0`.sps
+: ${PERL:=perl}
 
 # ensure that top_builddir  are absolute
 if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
@@ -116,7 +117,7 @@ for count_repeat_buffers in \
   } > sort.pspp || no_result
   
   activity="run program"
-  $SUPERVISOR $PSPP --testing-mode -o raw-ascii sort.pspp
+  $SUPERVISOR $PSPP --testing-mode sort.pspp
   if [ $? -ne 0 ] ; then no_result ; fi
   
   perl -pi -e 's/^\s*$//g' sort.exp sort.out