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