[lvm-devel] [PATCH] Fix 'make check' to work with the latest device-mapper

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Jan 11 23:21:23 UTC 2008


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,
-- 
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>


More information about the lvm-devel mailing list