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:
@@ -251,8 +251,9 @@ bin_iscsi_test_cu_SOURCES = test-tool/iscsi-test-cu.c \
|
||||
test-tool/test_read16_flags.c \
|
||||
test-tool/test_read16_residuals.c \
|
||||
test-tool/test_readcapacity10_simple.c \
|
||||
test-tool/test_readcapacity16_simple.c \
|
||||
test-tool/test_readcapacity16_alloclen.c \
|
||||
test-tool/test_readcapacity16_protection.c \
|
||||
test-tool/test_readcapacity16_simple.c \
|
||||
test-tool/test_readonly_sbc.c \
|
||||
test-tool/test_reserve6_simple.c \
|
||||
test-tool/test_reserve6_2initiators.c \
|
||||
|
||||
Reference in New Issue
Block a user