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

H.J. Lu hjl.tools@gmail.com
Mon Jul 20 22:40:53 GMT 2026


On Mon, Jul 20, 2026 at 11:04 PM Andreas Schwab <schwab@suse.de> 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.


More information about the Libc-alpha mailing list