Fix missing @clicksequence problem with older Texinfo versions.
[pspp-builds.git] / tests / test_template
index 5f30158ad1baaf89630cc9221124666904ad5090..5c996621ebd3130db798823dd2540fa9f147f6ee 100755 (executable)
@@ -9,9 +9,15 @@ TESTFILE=$TEMPDIR/`basename $0`.sps
 if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi
 if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
 top_srcdir=`cd $top_srcdir; pwd`
-top_buiddir=`cd $top_builddir; pwd`
+top_builddir=`cd $top_builddir; pwd`
 
-export STAT_CONFIG_PATH=$top_srcdir/config
+PSPP=$top_builddir/src/ui/terminal/pspp
+
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
+
+LANG=C
+export LANG
 
 
 cleanup()
@@ -56,7 +62,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run program"
-$SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii $TESTFILE
+$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi