X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fget.sh;h=86b39c661df71f8d6e4f51091b922b836255c262;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=2cc6cfc5a3e26ec7f0b8d24a629fb75728e4f2d5;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp-builds.git diff --git a/tests/bugs/get.sh b/tests/bugs/get.sh index 2cc6cfc5..86b39c66 100755 --- a/tests/bugs/get.sh +++ b/tests/bugs/get.sh @@ -94,28 +94,28 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b -w $TEMPDIR/pspp.list - << EOF -LOCATION EDITOR SHELL FREQ - -------- -------- -------- -------- - 1.00 1.00 1.00 2.00 - 1.00 1.00 2.00 30.00 - 1.00 2.00 1.00 8.00 - 1.00 2.00 2.00 20.00 - 2.00 1.00 1.00 2.00 - 2.00 1.00 2.00 22.00 - 2.00 2.00 1.00 1.00 - 2.00 2.00 2.00 3.00 -LOCATION EDITOR SHELL FREQ - -------- -------- -------- -------- - 1.00 1.00 1.00 2.00 - 1.00 1.00 2.00 30.00 - 1.00 2.00 1.00 8.00 - 1.00 2.00 2.00 20.00 - 2.00 1.00 1.00 2.00 - 2.00 1.00 2.00 22.00 - 2.00 2.00 1.00 1.00 - 2.00 2.00 2.00 3.00 +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Data List +LOCATION,EDITOR,SHELL,FREQ +1.00,1.00,1.00,2.00 +1.00,1.00,2.00,30.00 +1.00,2.00,1.00,8.00 +1.00,2.00,2.00,20.00 +2.00,1.00,1.00,2.00 +2.00,1.00,2.00,22.00 +2.00,2.00,1.00,1.00 +2.00,2.00,2.00,3.00 + +Table: Data List +LOCATION,EDITOR,SHELL,FREQ +1.00,1.00,1.00,2.00 +1.00,1.00,2.00,30.00 +1.00,2.00,1.00,8.00 +1.00,2.00,2.00,20.00 +2.00,1.00,1.00,2.00 +2.00,1.00,2.00,22.00 +2.00,2.00,1.00,1.00 +2.00,2.00,2.00,3.00 EOF if [ $? -ne 0 ] ; then fail ; fi