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:
17
tests/test_9028_readdefectdata10.sh
Executable file
17
tests/test_9028_readdefectdata10.sh
Executable 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
|
||||
Reference in New Issue
Block a user