[PATCH v2] strace-tst-thp.sh: Allow unsupported THP tests
H.J. Lu
hjl.tools@gmail.com
Wed Jul 15 11:19:17 GMT 2026
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.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-strace-tst-thp.sh-Allow-unsupported-THP-tests.patch
Type: text/x-patch
Size: 1820 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260715/11f2d7a0/attachment.bin>
More information about the Libc-alpha
mailing list