Re: [PATCH v2] strace-tst-thp.sh: Allow unsupported THP tests
Adhemerval Zanella Netto <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Organization | Linaro |
| Message-ID | <[email protected]> |
On 15/07/26 08:19, H.J. Lu wrote:
> 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.
>
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <[email protected]>