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

"Andreas K. Huettel" <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Gentoo Linux
Message-ID <[email protected]>
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
[email protected]
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
signature.asc (application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmpXeucbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJENwrFiFe1UEqnGgQAKxJ7TSd/gdbUylwQa5u
0I/zHIij/AcNlxb+NuGhzl65yWHAVAXJZpwtyz1QRLXbUVpShv5q4cMM6468rwBh
7YxTbSHufspG+esaD/5iZhaa81IlMN3bfqFmp8rJ29ITXAlD1jkitDu/5CQ158IE
H5EzMPNI6hDQjDRlThW0uFOk4jvvTfHlaTxbFYMcUE+guK2H5vTJDk5QSOTtOf2A
aZloOatuKEGvGdU7vdMvgwEJ9m4PbMqPoRm+7Igk70uhVeADL5pkFnnUInGJkYme
Um2ZSixu5ZjVrXQArxjeg+PavOBLwjBLIJyq9n5TkMH5v4p9SozH8Jvg6VYJVJ1v
jHGLDFjNdsRNeRzp7Q0sQBejfD9fvcr9bR3qPE/yA2mOuWlmdWlx7oLnsHAirfCn
4d35UrV70XISYQfg3oE7VyWes0oVP4Ub4OlnfS96JQWm3XzyhpmQD1on3j3CGCoK
QXeUZJXP7CpjZROlfstn0OAZWIw061pT2EWFT2d8EaDJBaYU9pZz5KxpytYR4Yfo
hRk6IKPY9yayU2r0Npban72nUW+I6OSxmJSNzJyab/Xw7rEbTLfMWToMUuLReLY2
xPOMY3MweFkiWS/5ZH/oN06Y8TIOaTQepRdvXeu/jApkU2EAp0rV6ojJgvkBXYVP
TNyyVxv7eHCjJO2DlOyoN5uA
=l/n9
-----END PGP SIGNATURE-----
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.