Don't append -ansi to AM_CFLAGS for GCC. Using -ansi changes the
[pspp] / tests / command / import-export.sh
index 074b4f3a6640c22f43064a0915b226e29549b6af..4476fa7df4cee45b675509311a4e5302761792aa 100755 (executable)
@@ -10,11 +10,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
 }
 
@@ -48,7 +50,7 @@ cd $TEMPDIR
 
 activity="create program"
 cat > $TESTFILE <<EOF
-DATA LIST LIST /x * y *.
+DATA LIST LIST /X * Y *.
 BEGIN DATA.
 1 2
 3 4