Commit Graph

2 Commits

Author SHA1 Message Date
Ronnie Sahlberg
e9b79807ae TESTS: Make READCAPACITY16PI test more verbose under -V 2013-05-14 20:29:20 -07:00
Ronnie Sahlberg
f49a1beb16 TEST: Add test for the protection information setting in READCAPACITY16
If the device does not support PI (INQ->PROTECT) then
verify that PROT_EN, P_TYPE and P_I_EXP are all zero.

If the device does support PI and IF PROT_EN is clear
then verify that both P_TYPE and P_I_EXP are zero.

If the device does support PI and IF PROT_EN is set
then verify that P_TYPE is 0, 1 or 2
2013-05-13 20:03:56 -07:00