TESTS: Add a test for the reprot one command reporting options for

REPORT SUPPORTED OPCODES.

Opcodes that are listed in the full list of all supported opcodes as taking
a service action should work to ask reporting option 2 (uses service action)
from  but fail when asked for option 1 (no service action)

Similarly, opcodes that are flagged as not taking a service action should
work when used with option 1 but fail with option 2.
This commit is contained in:
Ronnie Sahlberg
2013-05-19 07:27:33 -07:00
parent d7acb5f128
commit c9ee8525b2
6 changed files with 160 additions and 2 deletions

View File

@@ -255,9 +255,10 @@ bin_iscsi_test_cu_SOURCES = test-tool/iscsi-test-cu.c \
test-tool/test_readcapacity16_protection.c \
test-tool/test_readcapacity16_simple.c \
test-tool/test_readonly_sbc.c \
test-tool/test_report_supported_opcodes_simple.c \
test-tool/test_report_supported_opcodes_one_command.c \
test-tool/test_report_supported_opcodes_rctd.c \
test-tool/test_report_supported_opcodes_servactv.c \
test-tool/test_report_supported_opcodes_simple.c \
test-tool/test_reserve6_simple.c \
test-tool/test_reserve6_2initiators.c \
test-tool/test_reserve6_logout.c \