shykes/docker — pull request #62 by shykes (2013-11-21 02:19:51+00:00)
Title: Devmapper unit tests

Implement real unit testing for the device mapper driver.

* All calls to libdevmapper, os/exec and syscall are denied by default during the tests
* Each test selectively injects mock functions to test that libdevmapper is called in the right way

Unit test coverage before: 0.01%
Unit test coverage after: 31.4%