umockdev-record
record/mock hardware devices for bug reports and regression tests
Install
- All systems
-
curl cmd.cat/umockdev-record.sh
- Debian
-
apt-get install umockdev
- Ubuntu
-
apt-get install umockdev
- Arch Linux
-
pacman -S umockdev
- Kali Linux
-
apt-get install umockdev
- Fedora
-
dnf install umockdev
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install umockdev
- Raspbian
-
apt-get install umockdev
- Dockerfile
- dockerfile.run/umockdev-record
umockdev
record/mock hardware devices for bug reports and regression tests
umockdev mocks hardware devices for creating unit tests for libraries and programs that handle Linux hardware devices. This package provides tools to record the properties and behaviour of particular devices, and to run a program or test suite under a test bed with the previously recorded devices loaded. Right now this covers sysfs, uevents, basic support for /dev devices, and recording/mocking usbdevfs ioctls (for PtP/MTP devices). With this you can simulate particular hardware in virtual environments up to some degree, without needing any particular privileges or disturbing the whole system.