Fix 'make check' to work with the latest device-mapper
PATCH 1/1 Fix 'make check' to work with the latest device-mapper
Fix 'make check' runnable with recent versions of dmsetup.
'make check' uses DM_DEV_DIR environment variable to set a sandbox for testing.
To confirm if dmsetup command supports the variable,
it checks the error message of dmsetup when invalid value is set to the variable.
As the message of dmsetup has recently changed, 'make check' should test for the newe version, too.
Otherwise, it skips all tests that includes activation.
Thanks,
Signature · 8 lines
Jun'ichi Nomura, NEC Corporation of America -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-test-DM_DEVDIR-support-check.patch Type: text/x-patch Size: 1048 bytes Desc: not available URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080111/be72ad6c/attachment.bin>