HomeFreeBSD

Make the CTL tests more resilient

Description

Make the CTL tests more resilient

Fix the find_device function to work regardless of whether "camcontrol
devlist" lists the da device first and the pass device second or vice
versa. On FreeBSD 14 and 15 it apparently always lists da first. But
on 13 it can do it in either order.

MFC after: 2 weeks
MFC with: fe1755fa
Sponsored by: ConnectWise
Reviewed by: emaste, markj, cam
Differential Revision: https://reviews.freebsd.org/D47446

Details

Provenance
asomersAuthored on Nov 5 2024, 12:26 AM
Reviewer
cam
Differential Revision
D47446: Make the CTL tests more resilient
Parents
rG5ef0cd25c4c9: bhyve: Convert to using vm_openf()
Branches
Unknown
Tags
Unknown