Fixed a bug reading empty strings from Postgres databases.
[pspp-builds.git] / tests / command / aggregate.sh
index b95401818ab8f1edb938a4fa7f50a8b635ffb5cc..0992e45bced84e734faab4dd25c57b00c68a2f39 100755 (executable)
@@ -19,6 +19,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }
@@ -214,7 +218,7 @@ for outfile in scratch active external; do
            if [ $? -ne 0 ] ; then no_result ; fi
            
            activity="run $name.pspp"
-           $SUPERVISOR $PSPP --testing-mode -o raw-ascii -e /dev/null $name.pspp 
+           $SUPERVISOR $PSPP --testing-mode -e /dev/null $name.pspp 
            if [ $? -ne 0 ] ; then no_result ; fi
 
            activity="check $name output"