Re: [PATCH v5] strace-tst-thp.sh: Allow unsupported THP tests

"H.J. Lu" <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <CAMe9rOqJ_oa6oDLvnKtczKBWBn8FmYWyQXO=fEzircsdxg9bpg@mail.gmail.com>
On Mon, Jul 20, 2026 at 11:04 PM Andreas Schwab <[email protected]> wrote:
>
> On Jul 17 2026, H.J. Lu wrote:
>
> > diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
> > index 14a56d5cc3..563a85aaa0 100644
> > --- a/sysdeps/unix/sysv/linux/Makefile
> > +++ b/sysdeps/unix/sysv/linux/Makefile
> > @@ -842,7 +842,7 @@ endif
> >  $(objpfx)strace-tst-thp-1-enabled.out: \
> >    $(..)sysdeps/unix/sysv/linux/strace-tst-thp.sh $(objpfx)ld.so \
> >    $(objpfx)tst-thp-1
> > -     $(SHELL) $< '$(strace-test-via-rtld-prefix)' \
> > +     $(BASH) $< '$(strace-test-via-rtld-prefix)' \
>
> Why do you need this?
>

strace-tst-thp.sh has

output=$(timeout -k 4 $((3*$TIMEOUTFACTOR)) ${cmd} --direct 2>&1)

Is this supported by all shells?

-- 
H.J.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.