Merge tag 'platform-drivers-x86-v5.14-3' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / lib / test_bitmap.c
index 9cd5755..4ea73f5 100644 (file)
@@ -366,6 +366,13 @@ static const struct test_bitmap_parselist parselist_tests[] __initconst = {
        {0, "0-31:1/3,1-31:1/3,2-31:1/3",       &exp1[8 * step], 32, 0},
        {0, "1-10:8/12,8-31:24/29,0-31:0/3",    &exp1[9 * step], 32, 0},
 
+       {0,       "all",                &exp1[8 * step], 32, 0},
+       {0,       "0, 1, all,  ",       &exp1[8 * step], 32, 0},
+       {0,       "all:1/2",            &exp1[4 * step], 32, 0},
+       {0,       "ALL:1/2",            &exp1[4 * step], 32, 0},
+       {-EINVAL, "al", NULL, 8, 0},
+       {-EINVAL, "alll", NULL, 8, 0},
+
        {-EINVAL, "-1", NULL, 8, 0},
        {-EINVAL, "-0", NULL, 8, 0},
        {-EINVAL, "10-1", NULL, 8, 0},