i18n: Change some strings to reduce work of translation.
[pspp-builds.git] / tests / command / do-repeat.sh
index 0a702633c120c070897a37ab812347484ff160e1..0f395422f50180cb5b736f86ab9c37358e063c5d 100755 (executable)
@@ -20,6 +20,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }
@@ -60,7 +64,7 @@ BEGIN DATA.
 0
 END DATA.
 
-DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7, 6, 5.
+DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7.5, 6, 5.
        COMPUTE h = x + y.
 END REPEAT.
 
@@ -80,7 +84,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE 
+$SUPERVISOR $PSPP --testing-mode $TESTFILE 
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare results"
@@ -88,7 +92,7 @@ perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
 diff -b  $TEMPDIR/pspp.list - <<EOF
 a       h0       h1       h2       h3       v1       v2       v3       v4       v5       v6
 - -------- -------- -------- -------- -------- -------- -------- -------- -------- --------
-0     8.00     8.00     8.00     8.00     4.00     5.00     6.00     5.00     6.00     7.00 
+0     8.00     8.50     8.00     8.00     4.00     5.00     6.00     5.00     6.00     7.00 
 EOF
 if [ $? -ne 0 ] ; then fail ; fi