X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fline-ends.sh;h=7649962979f2700b136510a26e014dc74cc1b119;hb=c75794cffb05769b71a346af8513a3e8dde55f94;hp=ca03b5cad88ae341abd2eb833ad8bdc5ce4b2eea;hpb=8af88c0b7ea2fe75df7e45497988ed0371006a86;p=pspp diff --git a/tests/command/line-ends.sh b/tests/command/line-ends.sh index ca03b5cad8..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,27 +77,26 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="check input.txt" cksum input.txt > input.cksum diff input.cksum - <