Add test that ipv6 works

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2017-01-08 13:12:16 -08:00
parent 179f6b33d4
commit 20f52ea756

17
tests/test_0600_ipv6.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
. ./functions.sh
echo "IPv6 tests"
start_target "nop_interval=1,nop_count=3,portal=[::1]:3269"
create_lun
echo -n "Test that we can connect to an IPv6 target ..."
../utils/iscsi-inq -i ${IQNINITIATOR} iscsi://[::1]:3269/${IQNTARGET}/1 > /dev/null || failure
success
shutdown_target
delete_lun
exit 0