diff options
author | 2021-08-30 14:56:06 +0200 | |
---|---|---|
committer | 2021-08-30 14:56:06 +0200 | |
commit | 71af75b6929458d85f63c0649dc26d6f4c19729e (patch) | |
tree | c05c57903424d8270f6b6f3ec3493791fdba4e5c /lib/test_bitmap.c | |
parent | lib/test_scanf: Handle n_bits == 0 in random tests (diff) | |
parent | printk/index: Fix -Wunused-function warning (diff) | |
download | linux-dev-71af75b6929458d85f63c0649dc26d6f4c19729e.tar.xz linux-dev-71af75b6929458d85f63c0649dc26d6f4c19729e.zip |
Merge branch 'for-5.15-printk-index' into for-linus
Diffstat (limited to 'lib/test_bitmap.c')
-rw-r--r-- | lib/test_bitmap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index 9cd575583180..4ea73f5aed41 100644 --- a/lib/test_bitmap.c +++ b/lib/test_bitmap.c @@ -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}, |