Volume groups and logical volumes "-" in their name get mangled with double dashes
in dmsetup. Switching to wc and just counting lines while depending on the vgname
+ lvname filter in the dmsetup call gets around the issue with dmsetup outputting
correctly but grep failing due to the name mangle.
Logic for both test cases and dmsetup calls changed so they match too. No reason
to not have matching tests.
This is AllBad but there isn't a better way that I'm aware of yet.