X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fcompression.sh;h=d2147237e2d8cb8ee1e1669c2ebf212facf766db;hb=f1e588b2d560aca9740fa6ee279e3e9aab335b5b;hp=138b6ca5c3d54051f747ecd4e80646a44bbe472b;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp-builds.git diff --git a/tests/bugs/compression.sh b/tests/bugs/compression.sh index 138b6ca5..d2147237 100755 --- a/tests/bugs/compression.sh +++ b/tests/bugs/compression.sh @@ -77,15 +77,22 @@ if [ $? -ne 0 ] ; then fail ; fi # Make sure the file really was compressed activity="inspect system file" -dd if=$TEMPDIR/com.sav bs=1 skip=72 count=1 2> /dev/null | od > $TEMPDIR/file +dd if=$TEMPDIR/com.sav bs=1 skip=72 count=4 2> /dev/null | od > $TEMPDIR/file if [ $? -ne 0 ] ; then no_result ; fi -activity="check compression byte" -diff $TEMPDIR/file - < /dev/null < /dev/null <