btrfs-progs: selftests fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs-progs: tests: fix the wrong kernel version checktests/ | +19 | 1 reply | |
| 2/3 | btrfs-progs: mkfs-tests/025: fix the wrong function calltests/ | +1 | 3 replies | |
| 3/3 | btrfs-progs: convert-tests/022: add reiserfs support checktests/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] btrfs-progs: selftests fixes
There are 3 bugs exposed during my tests for unified mkfs features, and they are all from the selftest itself:
- check_min_kernel_version() doesn't handle 6.x kernels at all The original check never handles major number check properly. And when we change major number, returns in correct number now.
- Missing a space between "!" and function call
This bug is there for a long time.
Without previous fix, one may incorrectly remove the "!" and cause new problems.
- Convert/022 doesn't check if we have support for reiserfs
Qu Wenruo (3):
btrfs-progs: tests: fix the wrong kernel version check
btrfs-progs: mkfs-tests/025: fix the wrong function call
btrfs-progs: convert-tests/022: add reiserfs support check
tests/common | 23 +++++++++++++++---- .../022-reiserfs-parent-ref/test.sh | 5 ++++ tests/mkfs-tests/025-zoned-parallel/test.sh | 2 +- 3 files changed, 25 insertions(+), 5 deletions(-)
Signature · 1 line
2.37.3