It has been reported to me that the BLKPG* handling doesn't work properly with /dev/md/ paths as those aren't canonicalized. This patch set adds the missing test to t6100 and fixes this bug.
Sebastian Parschauer (3): tests: Add helper 'require_swap_' tests: Add /dev/md/ check to t6100 libparted: Canonicalize /dev/md/ paths libparted/device.c | 7 ++--- tests/t-lib-helpers.sh | 6 ++++ tests/t6100-mdraid-partitions.sh | 62 +++++++++++++++++++++++++++++++++++----- 3 files changed, 63 insertions(+), 12 deletions(-) -- 2.16.1

