]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-30-ISCSI: some tests have unknown return code
authorHarald Hoyer <harald@redhat.com>
Tue, 19 Jan 2016 13:43:43 +0000 (14:43 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 19 Jan 2016 13:43:43 +0000 (14:43 +0100)
by design

test/TEST-30-ISCSI/test.sh

index 00c1fbd02f58da777fe95aa0fa256681e9b6a5a9..940edb6bc6b57a66f06b5674fe935a78e3672d87 100755 (executable)
@@ -85,7 +85,7 @@ do_test_run() {
                "rd.iscsi.initiator=$initiator" \
         || return 1
 
-    run_client "FAILME: netroot=iscsi target1 target2 rd.iscsi.waitnet=0" \
+    run_client "netroot=iscsi target1 target2 rd.iscsi.waitnet=0" \
               "root=LABEL=sysroot" \
                "ip=192.168.50.101:::255.255.255.0::ens3:off" \
                "ip=192.168.51.101:::255.255.255.0::ens4:off" \
@@ -94,9 +94,9 @@ do_test_run() {
                "rd.iscsi.firmware" \
                "rd.iscsi.initiator=$initiator" \
                "rd.iscsi.waitnet=0" \
-       || return 0
+       || return 1
 
-    run_client "netroot=iscsi target1 target2 rd.iscsi.waitnet=0 rd.iscsi.testroute=0" \
+    run_client "FAILME: netroot=iscsi target1 target2 rd.iscsi.waitnet=0 rd.iscsi.testroute=0" \
               "root=LABEL=sysroot" \
                "ip=192.168.50.101:::255.255.255.0::ens3:off" \
                "ip=192.168.51.101:::255.255.255.0::ens4:off" \
@@ -105,9 +105,9 @@ do_test_run() {
                "rd.iscsi.firmware" \
                "rd.iscsi.initiator=$initiator" \
                "rd.iscsi.waitnet=0 rd.iscsi.testroute=0" \
-       || return 1
+       || :
 
-    run_client "netroot=iscsi target1 target2 rd.iscsi.waitnet=0 rd.iscsi.testroute=0 default GW" \
+    run_client "FAILME: netroot=iscsi target1 target2 rd.iscsi.waitnet=0 rd.iscsi.testroute=0 default GW" \
               "root=LABEL=sysroot" \
                "ip=192.168.50.101::192.168.50.1:255.255.255.0::ens3:off" \
                "ip=192.168.51.101::192.168.51.1:255.255.255.0::ens4:off" \
@@ -116,7 +116,7 @@ do_test_run() {
                "rd.iscsi.firmware" \
                "rd.iscsi.initiator=$initiator" \
                "rd.iscsi.waitnet=0 rd.iscsi.testroute=0" \
-       || return 1
+       || :
 
     return 0
 }