TEST: Add test that invalid DATASN for DATAIN is detected as an error

Send a write containing two DATA-IN PDUs in a sequence but both PDUs have DATASN==0
This is an error and the target should react to this as an invalid command

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2012-08-10 16:08:55 +10:00
parent 0cf42c3662
commit 6412834754
5 changed files with 184 additions and 12 deletions

View File

@@ -120,7 +120,8 @@ bin_iscsi_test_SOURCES = test-tool/iscsi-test.c \
test-tool/0386_preventallow_2_it_nexuses.c \
test-tool/0390_mandatory_opcodes_sbc.c \
\
test-tool/1000_cmdsn_invalid.c
test-tool/1000_cmdsn_invalid.c \
test-tool/1010_datasn_invalid.c
endif