summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-08-27 15:26:43 +0700
committerhathach <[email protected]>2026-08-28 14:18:41 +0700
commita5938f71fbc704c85979121bb9e37d5d636ef20d (patch)
treeb621024858993dec18d3d183c35b59c99ca28ec3 /lib
parenteca6caf673452c8ec940e2acf5e46d0631fb72bf (diff)
test/hil: run the printer write in a child, like the read
test_device_printer_to_cdc opened /dev/usb/lp* on the worker itself and let hil_util.bounded_open abandon a thread when the open blocked. usblp allows one opener -- usblp_open() returns -EBUSY while usblp->used (v6.12.96 usblp.c) -- so the abandoned thread's fd poisoned the node for every later test that worker ran. The read half already avoided this by forking; the write half now does too, via the same run_alongside, and a killed child takes its fd with it. This removes the only production caller of bounded_open.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions