tests/tcg/linux-test: Add linux-madvise test
commit38b870cc8c5e9d079649d8769c8f271f28953d24
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 6 Sep 2022 00:08:39 +0000 (6 02:08 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Sep 2022 07:30:46 +0000 (27 09:30 +0200)
tree6ecb6b410e97034b2899ebfa1d6f671cc3b4afe9
parentf93b76958a358e82bfdd1474598fe75184afeb4d
tests/tcg/linux-test: Add linux-madvise test

Add a test that checks madvise(MADV_DONTNEED) behavior with anonymous
and file mappings in order to prevent regressions.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220906000839.1672934-6-iii@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
tests/tcg/multiarch/linux/linux-madvise.c [new file with mode: 0644]