Harald Hoyer ff2fda
From 9a9c67d61b1e522a7cb72bfc488f4610b4c5ff0b Mon Sep 17 00:00:00 2001
Harald Hoyer ff2fda
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer ff2fda
Date: Fri, 6 Jul 2018 11:56:23 +0200
Harald Hoyer ff2fda
Subject: [PATCH] TEST-30-ISCSI: readd multiple target test
Harald Hoyer ff2fda
Harald Hoyer ff2fda
---
Harald Hoyer ff2fda
 test/TEST-30-ISCSI/test.sh | 7 +++++++
Harald Hoyer ff2fda
 1 file changed, 7 insertions(+)
Harald Hoyer ff2fda
Harald Hoyer ff2fda
diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh
Harald Hoyer ff2fda
index e667587a..f6cc56d5 100755
Harald Hoyer ff2fda
--- a/test/TEST-30-ISCSI/test.sh
Harald Hoyer ff2fda
+++ b/test/TEST-30-ISCSI/test.sh
Harald Hoyer ff2fda
@@ -76,6 +76,13 @@ do_test_run() {
Harald Hoyer ff2fda
                "rd.iscsi.initiator=$initiator" \
Harald Hoyer ff2fda
         || return 1
Harald Hoyer ff2fda
 
Harald Hoyer ff2fda
+    run_client "netroot=iscsi target1 target2" \
Harald Hoyer ff2fda
+               "root=LABEL=sysroot" \
Harald Hoyer ff2fda
+               "ip=dhcp" \
Harald Hoyer ff2fda
+               "netroot=iscsi:192.168.51.1::::iqn.2009-06.dracut:target1" \
Harald Hoyer ff2fda
+               "netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target2" \
Harald Hoyer ff2fda
+               "rd.iscsi.initiator=$initiator" \
Harald Hoyer ff2fda
+        || return 1
Harald Hoyer ff2fda
 
Harald Hoyer ff2fda
     echo "All tests passed [OK]"
Harald Hoyer ff2fda
     return 0
Harald Hoyer ff2fda