(validate_function_args) Fix two msg() bugs found by -Wformat.
[pspp] / tests / bugs / random.sh
index 52393f43a430eb2f575ede98303038471d38ddcd..659b6935d66fde2ff1e34b3862113ee4a0cde5c8 100755 (executable)
@@ -11,11 +11,13 @@ here=`pwd`;
 # ensure that top_srcdir is absolute
 cd $top_srcdir; top_srcdir=`pwd`
 
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
 
 
 cleanup()
 {
+     cd /
      rm -rf $TEMPDIR
 }
 
@@ -52,7 +54,7 @@ cat > $TESTFILE <<EOF
 set seed=10.
 input program.
 + loop #i = 1 to 20.
-+    do repeat response=r1.
++    do repeat response=R1.
 +       compute response = uniform(10).
 +    end repeat.
 +    end case.