X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcommand%2Fline-ends.sh;h=7649962979f2700b136510a26e014dc74cc1b119;hb=f368e65edf078d4d9073d56533f6c1780fdcc3bb;hp=14612b9075e903e4c032023d7d7ce85bfb55ea85;hpb=f51ecb48027e6b1eb46840ae25888a25b429f012;p=pspp diff --git a/tests/command/line-ends.sh b/tests/command/line-ends.sh index 14612b9075..7649962979 100755 --- a/tests/command/line-ends.sh +++ b/tests/command/line-ends.sh @@ -10,7 +10,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps if [ -z "$top_builddir" ] ; then top_builddir=. ; fi if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi top_builddir=`cd $top_builddir; pwd` -PSPP=$top_builddir/src/ui/terminal/pspp +PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -67,7 +67,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="create input.txt" -printf '1 2 3\n4 5 6\r\n7 8 9\r10 11 12\n13 14 15 \r\n16 17 18\r' > input.txt +printf '1 2 3\n4 5 6\r\n7\r8\r9\r\n10 11 12\n13 14 15 \r\n16\r\r17\r18\n' > input.txt if [ $? -ne 0 ] ; then no_result ; fi @@ -77,7 +77,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="check input.txt" cksum input.txt > input.cksum diff input.cksum - <