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
This commit is contained in:
@@ -132,8 +132,9 @@ void test_read16_residuals(void);
|
||||
|
||||
void test_readcapacity10_simple(void);
|
||||
|
||||
void test_readcapacity16_simple(void);
|
||||
void test_readcapacity16_alloclen(void);
|
||||
void test_readcapacity16_protection(void);
|
||||
void test_readcapacity16_simple(void);
|
||||
|
||||
void test_readonly_sbc(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user