replaced busted sed substitution with functioning perl substitutions
[pspp-builds.git] / tests / bugs / temporary.sh
index 3fbe18421123e280c680ee66c281808d3b742e24..7f7afb312d7df13ea17bb147e73852204580e578 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
 }
 
@@ -49,7 +51,7 @@ cd $TEMPDIR
 
 activity="create program"
 cat > $TESTFILE <<EOF
-DATA LIST LIST NOTABLE /x *.
+DATA LIST LIST NOTABLE /X *.
 begin data.
 1
 2