TESTS: Add a new test that does a one block write using unsilicited immediate data

As part of the test also validate the PDU that libiscsi generates and verify that
1, the PDU we send has the F flag set
2, that datasegmentlength for the PDU is one block
This commit is contained in:
Ronnie Sahlberg
2012-12-01 10:45:42 -08:00
parent edb0df07d6
commit 04970ef95e
5 changed files with 193 additions and 2 deletions
+2 -1
View File
@@ -148,7 +148,8 @@ bin_iscsi_test_SOURCES = test-tool/iscsi-test.c \
test-tool/1020_bufferoffset_invalid.c \
test-tool/1030_unsolicited_data_overflow.c \
test-tool/1031_unsolicited_data_out.c \
test-tool/1040_saturate_maxcmdsn.c
test-tool/1040_saturate_maxcmdsn.c \
test-tool/1041_unsolicited_immediate_data.c
endif