X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Ftabs.sh;h=764e747df72fe112b87f057e4f91e3d6fd437fc5;hb=60145c1c132f607c12b7880d5ee0092ce31889ac;hp=db0c688aa4dd73a3f0798eb960e90b10075ad881;hpb=b26094b483f97d89025df65a30523a65e716790a;p=pspp diff --git a/tests/command/tabs.sh b/tests/command/tabs.sh index db0c688aa4..764e747df7 100755 --- a/tests/command/tabs.sh +++ b/tests/command/tabs.sh @@ -3,6 +3,7 @@ # This program tests that tab characters can be used in string input TEMPDIR=/tmp/pspp-tst-$$ +TESTFILE=$TEMPDIR/`basename $0`.sps here=`pwd`; @@ -53,7 +54,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="create program 2" -printf "\t1\t12\t123\t1234\t12345\t123456\t\t1234567\t12345678\tasdf\tjkl\n" >> $TEMPDIR/tabs.stat +printf "\t1\t12\t123\t1234\t12345\n" >> $TEMPDIR/tabs.stat if [ $? -ne 0 ] ; then no_result ; fi @@ -67,9 +68,10 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$here/../src/pspp -o raw-ascii $TEMPDIR/tabs.stat +$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/tabs.stat if [ $? -ne 0 ] ; then no_result ; fi + diff -B -b $TEMPDIR/pspp.list - << EOF 1.1 DATA LIST. Reading 1 record from the command file. +--------+------+-------+------+ @@ -77,7 +79,7 @@ diff -B -b $TEMPDIR/pspp.list - << EOF #========#======#=======#======# |X | 1| 1- 80|A80 | +--------+------+-------+------+ - 1 12 123 1234 12345 123456 1234567 + 1 12 123 1234 12345 EOF if [ $? -ne 0 ] ; then fail ; fi