[parted-devel] [PATCH 0/3] Test and canonicalize /dev/md/ paths
    Sebastian Parschauer 
    sparschauer at suse.de
       
    Tue May  8 13:23:25 BST 2018
    
    
  
On 20.02.2018 15:37, Sebastian Parschauer wrote:
> 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(-)
> 
TODOs for v2:
* check if this makes the following submitted patch superfluous:
  "[PATCH] parted: Escape printed device path in machine mode"
* test a name containing a colon ':' and check parsing machine mode
output as well
* split the test off from t6100 and add a new test instead
* include the waiting for the device to appear after MD creation added
with submitted patch
  "[PATCH 2/2] tests: fix t6100-mdraid-partitions"
* fix the comment copy and paste mistake in the test
Anything else? TIA
    
    
More information about the parted-devel
mailing list