Lines Matching full:prevent
37 atf_set "descr" "SCSI PREVENT ALLOW MEDIUM REMOVAL will prevent a CD from being ejected"
46 atf_check sg_prevent --prevent 1 /dev/$dev
64 atf_set "descr" "SCSI PREVENT ALLOW MEDIUM REMOVAL is idempotent when run from the same initiator"
75 atf_check sg_prevent --prevent 1 /dev/$dev
77 # Even though we ran --allow twice, a single --prevent command should
78 # suffice to prevent ejecting. Multiple ALLOW/PREVENT commands from
90 atf_set "descr" "SCSI PREVENT ALLOW MEDIUM REMOVAL may not be used on non-removable media"
106 atf_test_case prevent cleanup
109 atf_set "descr" "SCSI PREVENT ALLOW MEDIUM REMOVAL will prevent a CD from being ejected"
118 atf_check sg_prevent --prevent 1 /dev/$dev
131 atf_set "descr" "SCSI PREVENT ALLOW MEDIUM REMOVAL is idempotent when run from the same initiator"
140 atf_check sg_prevent --prevent 1 /dev/$dev
141 atf_check sg_prevent --prevent 1 /dev/$dev
144 # Even though we ran prevent idempotent and allow only once, eject
145 # should be allowed. Multiple PREVENT commands from the same initiator
159 atf_add_test_case prevent