Fixed non-portable shell syntax in tests. Added a dist-hook target to check
[pspp-builds.git] / tests / command / very-long-strings.sh
index 7489915e91ad41bb6f505d23db50dde9faac4464..d50abd9b98cff58e48f5f11f748bef2b73ee0b9d 100755 (executable)
@@ -13,7 +13,8 @@ top_srcdir=`cd $top_srcdir; pwd`
 top_builddir=`cd $top_builddir; pwd`
 PSPP=$top_builddir/src/ui/terminal/pspp
 
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
 
 
 cleanup()
@@ -71,7 +72,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program 0"
-$SUPERVISOR $PSPP --testing-mode -o raw-ascii -e /dev/null $TESTFILE 
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE 
 if [ $? -ne 0 ] ; then fail ; fi
 
 activity="compare variable display 0"
@@ -162,7 +163,7 @@ EOF
 
 
     activity="run program 1 ($options)"
-    $SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
+    $SUPERVISOR $PSPP --testing-mode $TESTFILE
     if [ $? -ne 0 ] ; then no_result ; fi
 
     activity="Create file2 ($options)"
@@ -183,7 +184,7 @@ EOF
     if [ $? -ne 0 ] ; then no_result ; fi
 
     activity="run program 2 ($options)"
-    $SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
+    $SUPERVISOR $PSPP --testing-mode $TESTFILE
     if [ $? -ne 0 ] ; then no_result ; fi