GNU bug report logs - #18754
tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale

Previous Next

Package: parted;

Reported by: Adam Sampson <ats <at> offog.org>

Date: Fri, 17 Oct 2014 19:08:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Sampson <ats <at> offog.org>
To: bug-parted <at> gnu.org
Subject: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale
Date: Fri, 17 Oct 2014 20:07:16 +0100
Hi parted maintainers,

In parted 3.2, tests/t0251-gpt-unicode.sh needs the C.UTF-8 locale.
However, this isn't provided by stock glibc, and it's not available on
all systems (only ones like Debian where they've patched it in).

I guess the test only really needs *some* UTF-8 locale, so a potential
fix would be to grep the output of "locale -a" for a UTF-8 locale to
use -- and not run the test at all if there isn't one.

Thanks,

-- 
Adam Sampson <ats <at> offog.org>                         <http://offog.org/>




This bug report was last modified 10 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.