From 20f52ea7566f4adf2688a6adad347e281e1c4f57 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 8 Jan 2017 13:12:16 -0800 Subject: [PATCH] Add test that ipv6 works Signed-off-by: Ronnie Sahlberg --- tests/test_0600_ipv6.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tests/test_0600_ipv6.sh diff --git a/tests/test_0600_ipv6.sh b/tests/test_0600_ipv6.sh new file mode 100755 index 0000000..e846c38 --- /dev/null +++ b/tests/test_0600_ipv6.sh @@ -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