commit | 6887f197d216537982ee49a45acd771a6786d75e | [log] [tgz] |
---|---|---|
author | Vincent Pelletier <plr.vincent@gmail.com> | Thu Feb 03 16:14:10 2022 |
committer | Vincent Pelletier <plr.vincent@gmail.com> | Fri Feb 04 13:19:25 2022 |
tree | 541e84dbc972bfa03c352ced1d6844821844f1d5 | |
parent | d9fb777ee583161c93856e56bbe74379cf4388bc [diff] |
usb1.testUSB1: Do not allocate libusb transfers in tests. From 1.0.25, calling libusb_free_transfer without having assigned it to a device segfaults. This is not a supported call sequence, so hook into {,de}allocation functions during affected test methods, and use this to check their consistency.