macOS
brew install umockdevprovider-native install command
brew / rank 15763
Mock hardware devices for creating unit tests and bug reporting. Version 0.19.8 via Homebrew; verified 2026-07-06.
install
brew install umockdevprovider-native install command
overview
Mock hardware devices for creating unit tests and bug reporting
history
umockdev is a Linux hardware-device mocking library and set of command-line tools for integration tests, bug reports, and regression reproduction.
The official README describes umockdev as a way to mock Linux devices for tests of hardware-related libraries and programs. It records device properties and behavior, then runs programs or test suites against a testbed loaded with those recorded devices.
The project is built around libumockdev, a preload library, and CLI tools including umockdev-record, umockdev-run, and umockdev-wrapper. Its feature set expanded from sysfs/udev property emulation into /dev nodes, read/write scripts, usbdevfs replay, pcap/usbmon replay, evdev, spidev, input events, and /proc mocking.
Official tags show releases by 2013, and the NEWS file documents long-running maintenance, including a 2020 switch to Meson and later fixes and feature updates. That history matches a specialized but durable Linux testing utility rather than a broad application.
umockdev's adoption is strongest in Linux hardware-adjacent testing. The README explicitly names gphoto and libmtp as examples where developers can receive recorded device dumps in bug reports and reproduce problems without owning the affected hardware.
The Homebrew input records downstream packaging across apk, Homebrew, Debian/Ubuntu gir/lib packages, dnf, Nix, pacman, and zypper. That breadth is notable because the tool remains Linux-specific and test-focused; package managers carry it for developers and CI systems that need reproducible hardware behavior.
Typical command-line use records a real device with umockdev-record, then replays it with umockdev-run around a test command. The README includes examples for PtP/MTP USB devices, usbmon pcap captures, tty devices such as modem sticks, Unix sockets, fake batteries, /proc, and /dev.
Library users create a UMockdevTestbed through C, Vala, Python, JavaScript, or other GObject-introspection languages, while the preload layer redirects /sys, /dev, /proc, netlink, and ioctl access into the sandbox.
umockdev is important to package maintainers because it turns hardware-dependent bugs into text artifacts that can be checked into tests or attached to bug reports. That makes CI and distro regression testing possible for code that would otherwise require physical devices.
It is also a classic niche systems package: small executable tools, a shared library, introspection bindings, preload behavior, and distro-specific packaging names that matter to anyone debugging Linux hardware stacks.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
umockdev-record | executable | indexed executable | Discovered from the local executable index. |
umockdev-run | executable | indexed executable | Discovered from the local executable index. |
umockdev-wrapper | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:umockdev |
|---|---|
| Version | 0.19.8 |
| Package manager | Homebrew |
| Homepage | https://launchpad.net/umockdev |
| Repository | https://github.com/martinpitt/umockdev |
| Last updated | 2026-07-06T10:19:20Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.