Add tests for sending/receiving each opcode end-to-end using iscsi-test-cu

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2016-10-09 14:08:38 -07:00
parent 4d0c7559c0
commit 8ef4dc8f3a
37 changed files with 619 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/sh
. ./functions.sh
echo "iscsi-test-cu ReadDefectData10 test"
start_target
create_disk_lun 1 100M
echo -n "SCSI.ReadDefectData10 ... "
../test-tool/iscsi-test-cu -i ${IQNINITIATOR} iscsi://${TGTPORTAL}/${IQNTARGET}/1 -t SCSI.ReadDefectData10 --dataloss > /dev/null || failure
success
shutdown_target
delete_disk_lun 1
exit 0