Categorical dependent variables for EXPORTed models
[pspp-builds.git] / tests / bugs / temporary.sh
index b0b4e3c38801f592d04d6eb26add9121f89e7213..25df5c0c869b09656a22ea4cf884c93afd93dfa2 100755 (executable)
@@ -17,6 +17,7 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     cd /
      rm -rf $TEMPDIR
 }
 
@@ -75,14 +76,14 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
-diff -b -B -w $TEMPDIR/pspp.list - << EOF
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b  -w $TEMPDIR/pspp.list - << EOF
        X
 --------
     6.00 
     7.00 
     8.00 
     9.00 
-
        X
 --------
     1.00