%general-entities; ]> $Date$ Umockdev-&umockdev-version; umockdev Introduction to Umockdev The Umockdev package contains a framework that allows a developer to mock devices for use in unit testing. &lfs110a_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &umockdev-md5sum; Download size: &umockdev-size; Estimated disk space required: &umockdev-buildsize; Estimated build time: &umockdev-time; Umockdev Dependencies Required , , and Optional and libgphoto2 (optional for tests) User Notes: Installation of Umockdev Install Umockdev by running the following commands: mkdir build && cd build && meson --prefix=/usr --buildtype=release .. && ninja To test the results, issue: PATH=$PATH:/usr/sbin ninja test. The addition to PATH is needed if you use the starting scripts in , because some tests need to run udevadm. One test needs to be run in an X session. Now, as the root user: ninja install Command Explanations : Use this switch if you have installed and wish to rebuild and install the API documentation. Contents Installed Programs Installed Libraries Installed Directories umockdev-record, umockdev-run, and umockdev-wrapper libumockdev-preload.so.0 and libumockdev.so /usr/include/umockdev-1.0 Short Descriptions umockdev-record records Linux devices and their ancestors from sysfs/udev or records ioctls for a device umockdev-record umockdev-run runs a program under an umockdev testbed umockdev-run umockdev-wrapper wraps a program around libumockdev-preload.so.0 through LD_PRELOAD umockdev-wrapper libumockdev.so provides API functions that allow mocking hardware devices for unit testing libumockdev.so