opnsense-src/tests/sys/cam/ctl
Alan Somers b032be711c 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
2024-11-04 19:06:53 -07:00
..
ctl.subr Make the CTL tests more resilient 2024-11-04 19:06:53 -07:00
Makefile ctl: add tests for PREVENT ALLOW MEDIUM REMOVAL 2024-09-05 09:10:09 -06:00
prevent.sh ctl: skip the test if ctladm is missing (WITHOUT_ISCSI) 2024-10-01 15:59:47 +02:00
read_buffer.sh ctl: skip the test if ctladm is missing (WITHOUT_ISCSI) 2024-10-01 15:59:47 +02:00
start_stop_unit.sh ctl: skip the test if ctladm is missing (WITHOUT_ISCSI) 2024-10-01 15:59:47 +02:00