[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] new snapshot available: sed-4.5.48-58eb
From: |
Assaf Gordon |
Subject: |
Re: [platform-testers] new snapshot available: sed-4.5.48-58eb |
Date: |
Thu, 13 Dec 2018 13:17:40 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
Thanks Jim!
On 2018-12-12 11:24 p.m., Jim Meyering wrote:
sed snapshot:
https://meyering.net/sed/sed-4.5.48-58eb.tar.xz
I noticed one bug which I made in the latest 'obinary' test -
I did not account that on BSD systems 'wc -c' adds whitespace prefixes,
and the test error'd.
ERROR: testsuite/obinary
========================
[...]
+ printf a
+ sed cb
+ wc -c
+ size=' 2'
+ framework_failure_ $'unexpected size \' 2\''
+ warn_ $'obinary.sh: set-up failure: unexpected size \' 2\''
+ printf '%s\n' $'obinary.sh: set-up failure: unexpected size \' 2\''
obinary.sh: set-up failure: unexpected size ' 2'
+ test 9 '=' 2
+ printf '%s\n' $'obinary.sh: set-up failure: unexpected size \' 2\''
+ sed 1q
+ Exit 99
[...]
The attached patch fixes it.
All other test pass on Net/Open/Free-BSD, so perhaps it doesn't warrant
another "pretest" release.
regards,
- assaf
0001-tests-fix-obinary-test-error-due-to-wc-spaces.patch
Description: Text Data