Files
libiscsi/tests/test_9004_modesense6.sh
2016-10-09 14:38:33 -07:00

19 lines
322 B
Bash
Executable File

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