From c7b42e0a8c3d6fb179cc7c681fcee58623de8b2f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 11 Jul 2018 15:17:32 -0600 Subject: [PATCH] t/axmap: add regression case for recent overlap failure case Catches the issue that bd71edcedc3d fixes. Signed-off-by: Jens Axboe --- t/axmap.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/t/axmap.c b/t/axmap.c index ed078853..c40bd13b 100644 --- a/t/axmap.c +++ b/t/axmap.c @@ -191,6 +191,16 @@ static int test_overlap(void) .nr = 2, .ret = 0, }, + { + .start = 22684, + .nr = 1, + .ret = 1, + }, + { + .start = 22670, + .nr = 60, + .ret = 14, + }, { .start = -1U, }, -- 2.25.1