X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fmatch-files-scratch.sh;h=6eb5b43994c24f3d38558b822c8063e14e19d43b;hb=5269c22bd135c65d5c8c9028c2ca2ae17cc6a192;hp=4830ddd359611169f6c9c6459e61e1dd9d9ecd64;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp-builds.git diff --git a/tests/bugs/match-files-scratch.sh b/tests/bugs/match-files-scratch.sh index 4830ddd3..6eb5b439 100755 --- a/tests/bugs/match-files-scratch.sh +++ b/tests/bugs/match-files-scratch.sh @@ -22,6 +22,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -78,20 +82,17 @@ $SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b -w $TEMPDIR/pspp.list - << EOF -1.1 DATA LIST. Reading free-form data from INLINE. -+--------+------+ -|Variable|Format| -#========#======# -|w |F8.0 | -|x |F8.0 | -|y |F8.0 | -+--------+------+ - x y j --------- -------- -------- - 5.00 6.00 55.00 - 2.00 3.00 55.00 +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Reading free-form data from INLINE. +Variable,Format +w,F8.0 +x,F8.0 +y,F8.0 + +Table: Data List +x,y,j +5.00,6.00,55.00 +2.00,3.00,55.00 EOF if [ $? -ne 0 ] ; then fail ; fi