]> sourceware.org Git - lvm2.git/commit
aux: enhance teardown to better handle weird names
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 27 Apr 2018 21:23:45 +0000 (23:23 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 30 Apr 2018 08:41:51 +0000 (10:41 +0200)
commitdd7ac793a02553c9c7a14b9715d5a6ad636aa065
treebf05baf0d9c1f90a86b2a830b2ddc872e047e012
parent877c2f2ffb3813e3236a55f07958009633dc8558
aux: enhance teardown to better handle weird names

When 'dmsetup' reports result with --nameprefixes it currently
incorrectly 'escapes' problematic characters.

Letting pass such string though shell 'eval' function is hard task.
So instead cut away substring.

Once dmsetup will start to properly escape backslash and apostrophe
this function may need further tuning.
test/lib/aux.sh
This page took 0.030556 seconds and 5 git commands to generate.