t/axmap: add regression test for overlap case resulting in 0 settable bits
[fio.git] / t / axmap.c
index 1752439ae66e79a021773cc0d1a581f0c5b4278b..75417bdb0abb631fdf1de890474f873801107a0f 100644 (file)
--- a/t/axmap.c
+++ b/t/axmap.c
@@ -351,6 +351,11 @@ static int test_overlap(void)
                        .nr     = 60,
                        .ret    = 14,
                },
+               {
+                       .start  = 22670,
+                       .nr     = 60,
+                       .ret    = 0,
+               },
                {
                        .start  = -1U,
                },