[parted-devel] [PATCH 0/3] Test and canonicalize /dev/md/ paths

Sebastian Parschauer sparschauer at suse.de
Tue Feb 20 14:37:41 UTC 2018


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




More information about the parted-devel mailing list