Add a test that a (future) single call to iscsi_service() will process all queued PDUs

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2016-12-12 17:47:17 -08:00
parent 3a598ea846
commit 8000a14d55
3 changed files with 230 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/sh
. ./functions.sh
echo "Test that a single call to iscsi_service will process all queued PDUs"
start_target
create_lun
echo -n "Test reading all queued PDUs in a single iscsi_service() call ... "
./prog_read_all_pdus -i ${IQNINITIATOR} iscsi://${TGTPORTAL}/${IQNTARGET}/1 || failure
success
shutdown_target
delete_lun
exit 0