Pádraig Brady <[email protected]> writes:

> * tests/csplit/csplit-io-err.sh: Adjust determination of ENOSPC.
> * tests/csplit/split-io-err.sh: Likewise.
> * tests/fold/fold-zero-width.sh: Verify full ENOSPC message.
> * tests/tac/tac-continue.sh: Likewise.
> * tests/misc/io-errors.sh: Likewise.
> * tests/misc/write-errors.sh: Likewise.
> ---
>  tests/csplit/csplit-io-err.sh | 7 ++-----
>  tests/fold/fold-zero-width.sh | 2 +-
>  tests/misc/io-errors.sh       | 3 ++-
>  tests/misc/write-errors.sh    | 2 +-
>  tests/split/split-io-err.sh   | 7 ++-----
>  tests/tac/tac-continue.sh     | 3 ++-
>  6 files changed, 10 insertions(+), 14 deletions(-)

The fold-zero-width.sh one fails because we are in the french locale:

+ grep 'No space left on device' err
+ fail=1
+ cat err
fold: write error: Aucun espace disponible sur le périphérique
+ echo 'fold didn'\''t diagnose ENOSPC'
fold didn't diagnose ENOSPC

The other changes look good from my quick look.

Maybe we can optionally set the locale in getlimits_ for test cases like
this?

Collin

Reply via email to