bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set -x path always returns 1 on fedora34 on arm64


From: Boleyn Su
Subject: Re: set -x path always returns 1 on fedora34 on arm64
Date: Wed, 12 May 2021 17:25:53 +0800

I tested that it is the container image to blame by compiling the source
code from both the host and the container and checking that it only breaks
in the container. Maybe it is a libc bug or something. I will file a bug to
Fedora later. Would be great if anyone can test the image. Note that the
x86_64 image works as expected.


On Wed, May 12, 2021, 17:16 Andreas Kusalananda Kähäri <
andreas.kahari@abc.se> wrote:

> On Wed, May 12, 2021 at 04:31:47PM +0800, Boleyn Su wrote:
> > Sorry, it is test -x instead of set -x. There are similar results for
> test
> > - r file, [ -r file] and so on.
>
> If "[ -r file]" is your code, then it fails because the "[" utility
> needs "]" as its last argument, and you are giving it "file]".  Insert a
> space before that last "]".
>
That is just a typo.

> If that is not the code you are using, then consider posting the code
> you are using.  If you don't, we can only really say "it works for me".
>
>
> >
> > On Wed, May 12, 2021, 13:34 Boleyn Su <boleyn.su@gmail.com> wrote:
> >
> > > Please refer to the subject.
> > >
>
> --
> Andreas (Kusalananda) Kähäri
> SciLifeLab, NBIS, ICM
> Uppsala University, Sweden
>
> .
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]