Files
libiscsi/tests/test_0300_nop_reply.sh
Ronnie Sahlberg e978232447 Add a test that we reply to NOPs from the target
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-04-16 08:21:48 -07:00

18 lines
316 B
Bash
Executable File

#!/bin/sh
. ./functions.sh
echo "NOP reply tests"
start_target "nop_interval=1,nop_count=3"
create_lun
echo -n "Test that we reply to target initiated NOPs correctly ... "
./prog_noop_reply -i ${IQNINITIATOR} iscsi://${TGTPORTAL}/${IQNTARGET}/1 > /dev/null || failure
success
shutdown_target
delete_lun
exit 0