All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lijin(Euler Dept 8) <lijin14@huawei.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] Fix wrong pattern used by fnmatch in test case proc01.c
Date: Wed, 2 Dec 2015 14:05:03 +0800	[thread overview]
Message-ID: <565E8A0F.7060105@huawei.com> (raw)
In-Reply-To: <20151201171023.GA11288@tarantula.localdomain>

On 2015/12/2 1:10, Jeffrey Bastian wrote:
> 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?

Hi Jeffrey and Jan

Use this thread for future discuss.


Jan,

Sorry for wrong info in the last email. The right glibc and kernel version should be:

[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@localhost ~]#
[root@localhost ~]# rpm -qa glibc
glibc-2.17-68.sa1.4.aarch64
[root@localhost ~]# uname -r
4.1.12

> 
> 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.

Jeffrey,

Thanks your info. My default locale is "en_US.UTF-8". Then I set the locale as follows but get the same error

[root@localhost ~]# export LC_ALL=C
[root@localhost ~]# export LANG=C
[root@localhost ~]# ./proc01
proc01      0  TINFO  :  /proc/sys/fs/binfmt_misc/register: is write-only.
proc01      1  TFAIL  :  proc01.c:392: read failed: /proc/sys/net/ipv6/conf/all/stable_secret: errno=EIO(5): Input/output error
proc01      2  TFAIL  :  proc01.c:392: read failed: /proc/sys/net/ipv6/conf/bond0/stable_secret: errno=EIO(5): Input/output error


Regards,

Jin
> 



  reply	other threads:[~2015-12-02  6:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27  6:44 [LTP] Fix wrong pattern used by fnmatch in test case proc01.c Li Jin
2015-11-27  6:44 ` [LTP] [PATCH] " Li Jin
2015-11-30 12:46   ` Jan Stancek
2015-12-01  1:30     ` Lijin
2015-12-01  8:35       ` Jan Stancek
2015-12-01  9:34         ` Lijin
2015-12-01 10:02           ` Jan Stancek
2015-12-01 17:10           ` Jeffrey Bastian
2015-12-02  6:05             ` Lijin [this message]
2015-12-02  6:25             ` Jin Li
2015-12-02  9:47               ` Jan Stancek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=565E8A0F.7060105@huawei.com \
    --to=lijin14@huawei.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.