[LTP] [PATCH] Fix wrong pattern used by fnmatch in test case proc01.c

Jeffrey Bastian jbastian@redhat.com
Tue Dec 1 18:10:23 CET 2015


On Tue, Dec 01, 2015 at 05:34:34PM +0800, Lijin(Euler Dept 8) wrote:
> On 2015/12/1 16:35, Jan Stancek wrote:
> > I'm curious on what distro and glibc version original code is failing for you.
> 
> redhat RHEL 6 and /lib64/libc.so.6 - GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.

RHEL6 had glibc-2.12 and kernel-2.6.32, so you must have a locally built
version of glibc-2.17 and kernel-4.1?

What locale are you using?  There is an open bug about the * glob not
working on multibyte characters, and although there should not be any
multibyte characters in the /proc/sys/net/ipv6/conf/*/stable_secret
path, I wonder if this is somehow related?
  https://sourceware.org/bugzilla/show_bug.cgi?id=14185

It might be worth trying different values of $LANG and/or $LC_ALL to see
if that helps or not, especially LANG=C and LC_ALL=C.

-- 
Jeff Bastian


More information about the Ltp mailing list