dracut/0001.patch
Harald Hoyer ff2fda3aeb dracut-048-6.git20180718
- git snapshot
2018-07-18 13:04:16 +02:00

29 lines
953 B
Diff

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