I did a #umockdev #release today which should fix the test regression against latest evtest, and four more bug/race fixes.

https://github.com/martinpitt/umockdev/releases/tag/0.19.4

Dear @gnome community -- #umockdev is currently (mostly) written in #Vala . Despite being one of the nicest languages I ever used πŸ’—, it feels like I should have a plan B. Is there any other sane language these days (i.e. *not* C) where one can export a #GObjectIntrospection API? #rustlang would be nice, but GI export got stuck in the middle 😒 Is it possible to do in Python, for example?

https://github.com/martinpitt/umockdev/

GitHub - martinpitt/umockdev: Mock hardware devices for creating unit tests and bug reporting

Mock hardware devices for creating unit tests and bug reporting - martinpitt/umockdev

GitHub

New #umockdev #release which fixes compatibility with the upcoming #systemd 258. That uncovered quite a lot of holes in the emulation -- open_tree(), fstat(), and device stat emulation for dup()ed fds.

https://github.com/martinpitt/umockdev/releases/tag/0.19.2

Release 0.19.2 Β· martinpitt/umockdev

preload: Trap dirfd access to /dev, fstat(), and open_tree()

GitHub
FSD meeting recap 2025 01 17 β€” Free Software Foundation β€” Working together for free software

I had a nice little train hacking session to fix some #umockdev bugs. Here's a #release, uploading to Fedora/Debian now:

https://github.com/martinpitt/umockdev/releases/tag/0.19.1

Release 0.19.1 Β· martinpitt/umockdev

preload: Restore errno in ioctl_emulate_open() preload: Only emulate ioctls on emulated devices Fix ioctl_tree_execute() ret type and initialization (thanks Helge Deller) tests: Disable spidev on b...

GitHub

Today's #umockdev #release adds API to conveniently embed scripts/evemu events directly in test code and synchronize them with other actions, and makes uevent synthesis thread-safe.

https://github.com/martinpitt/umockdev/releases/tag/0.19.0

Release 0.19.0 Β· martinpitt/umockdev

API: Add UMockdev.Testbed.wait_script() to sync to scripts/evemu replays API: UMockdev.Testbed.load_script_from_string() API: UMockdev.Testbed.load_evemu_events_from_string() Make uevent synthesis ...

GitHub

Time for an #umockdev release. Thanks to all contributors!

https://github.com/martinpitt/umockdev/releases/tag/0.18.4

Release 0.18.4 Β· martinpitt/umockdev

Add ioctls for Chromium OS EC devices (thanks Abhinav Baid) Generate "remove" uevent in umockdev_testbed_remove_device() (thanks Bob Henz) Recursively remove children with uevents (thanks Bob Henz)...

GitHub

I did a new #umockdev release to fix compatibility with glibc 2.39.9.

https://github.com/martinpitt/umockdev/releases/tag/0.18.2

Release 0.18.2 Β· martinpitt/umockdev

preload: Fix time64 redirect for glibc 2.39.9

GitHub

New #umockdev release which fixes 64-bit time_t on 32 bit architectures. Thanks to @vorlon and Ubuntu for fixing these!

https://github.com/martinpitt/umockdev/releases/tag/0.18.1

Release 0.18.1 Β· martinpitt/umockdev

preload: Provide wrappers for functions specific to 64-bit time_t (thanks Steve Langasek) preload: Fix building with _FILE_OFFSET_BITS (thanks Zixing Liu and Steve Langasek)

GitHub

New #umockdev release which records and restores SELinux context for mocked /dev nodes, fixes musl compatibility, build with meson 1.4, and some test fixes.

https://github.com/martinpitt/umockdev/releases/tag/0.18.0

Release 0.18.0 Β· martinpitt/umockdev

Record and restore SELinux context for mocked /dev nodes preload: wrap fstatfs() and statfs() on musl Fix build with meson 1.4

GitHub