diff options
author | Paul Gortmaker <[email protected]> | 2021-02-21 03:08:22 -0500 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-03-08 14:16:58 -0800 |
commit | 97330db3af9a41302d1ccb0f495fcb5b5da2cc44 (patch) | |
tree | eff37f6f777b0f596da59aeba56fdc0280648acf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6fef5905fbd691aeb91093056b27d5ee7b106097 (diff) |
lib: test_bitmap: add more start-end:offset/len tests
There are inputs to bitmap_parselist() that would probably never
be entered manually by a person, but might result from some kind of
automated input generator. Things like ranges of length 1, or group
lengths longer than nbits, overlaps, or offsets of zero.
Adding these tests serve two purposes:
1) document what might seem odd but nonetheless valid input.
2) don't regress from what we currently accept as valid.
Cc: Yury Norov <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Acked-by: Yury Norov <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions