t/axmap: a few more overlap cases
authorJens Axboe <axboe@kernel.dk>
Wed, 11 Jul 2018 14:29:22 +0000 (08:29 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Jul 2018 14:29:22 +0000 (08:29 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/axmap.c

index 3f6b8f16fe53e98b21074a3b1d4277aba558c4db..dafcedf4cf2ca4c95e8f22478d608e2800b96158 100644 (file)
--- a/t/axmap.c
+++ b/t/axmap.c
@@ -136,6 +136,16 @@ static int test_overlap(void)
                        .nr     = 32,
                        .ret    = 16,
                },
+               {
+                       .start  = 79,
+                       .nr     = 1,
+                       .ret    = 0,
+               },
+               {
+                       .start  = 80,
+                       .nr     = 21,
+                       .ret    = 21,
+               },
                {
                        .start  = 102,
                        .nr     = 1,