Follow-up Comment #3, bug #66479 (group groff): Hi Sven,
At 2024-11-24T13:50:10-0500, Sven Schober wrote:
> Follow-up Comment #2, bug #66479 (group groff):
>
> Hi Branden!
>
> Here you are:
>
> ../src/roff/groff/tests/dvi-device-smoke-test.sh
> checking 'groff -Kutf8 -Tdvi -Z'
> checking 'groff -Kutf8 -Tdvi'
> 0000000 f7 02 00 03 e0 30 00 00 e1 d8 00 00 03 e8 00 8b
> 0000020 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
> 0000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0000060 00 00 00 00 00 00 00 00 ff ff ff ff 8d ef 1a 70
> 0000100 61 70 65 72 73 69 7a 65 3d 38 2e 35 30 30 69 6e
> 0000120 2c 31 31 2e 30 30 30 69 6e f3 00 00 00 00 00 00
> 0000140 00 1f 40 00 00 1f 40 00 07 75 70 72 6d 6c 2d 68
> 0000160 ab 9f ff 43 cc 81 30 55 81 30 56 81 6c e2 8e 8d
> 0000200 ef 0c 63 6f 6c 6f 72 20 67 72 61 79 20 30 8e 8c
> 0000220 f8 00 00 00 0f 00 03 e0 30 00 00 e1 d8 00 00 03
> 0000240 e8 00 00 25 a4 00 01 3f 98 00 01 00 01 f3 00 00
> 0000260 00 00 00 00 00 1f 40 00 00 1f 40 00 07 75 70 72
> 0000300 6d 6c 2d 68 f9 00 00 00 90 02 df df df df df df
> 0000320
> ...FAILED
Thanks!
> Between each byte there are *two* blanks - I presume, you are
> expecting just one? That's why the `grep` expression won't match.
> That's why I used `tr -s` in that case, to squeeze the blanks into
> one. (I played with the idea to adapt the regex, but I thought that
> would loose some some of the clarity.)
Not to me, and I often put quantifiers after atoms in regex patterns in
other test scripts.
> I am excited to see what you come up with. :)
It's probably not worthy of excitement.
# macOS `wc` prefixes the line count with spaces. Get rid of them.
res=$(expr "$res" + 0) || exit 1
Regards,
Branden
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66479>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
