On 07/26/2018 06:29 AM, Alex Bennée wrote:
> This adds a test to make sure we fail properly for a 0 length mmap.
> There are most likely other failure conditions we should also check.
> 
> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
> Cc: umarcor <1783...@bugs.launchpad.net>
> ---
>  tests/tcg/multiarch/test-mmap.c | 16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

Might want to test length of e.g. -4 as well, which should get ENOMEM.


r~

Reply via email to