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

Andreas K. Huettel dilfridge@gentoo.org
Wed Jul 15 12:19:51 GMT 2026


Am Mittwoch, 15. Juli 2026, 20:19:17 Japanische Normalzeit schrieb H.J. Lu:
> Change strace-tst-thp.sh to
> 
> output=${test_prog}.$$
> ...
> /bin/sh -c \
>   "timeout -k 4 $((3*$TIMEOUTFACTOR)) ${cmd} --direct 2>&1" > "${output}"
> if grep -E "madvise\(0x[0-9a-f]+, [0-9]+, 0xe)" "${output}"; then
> ...
> 
> so that unsupported THP tests exit with status 77.
> 
> 

OK with a R-B

I guess this will also improve the HPPA test results.


-- 
PD Dr. Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260715/a7d2769a/attachment.sig>


More information about the Libc-alpha mailing list