From: Harald Hoyer Date: Tue, 19 Jan 2016 13:43:43 +0000 (+0100) Subject: TEST-30-ISCSI: some tests have unknown return code X-Git-Tag: 045~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1b924792a688ea3da7e7f4503527e5bc0b18fb;p=thirdparty%2Fdracut.git TEST-30-ISCSI: some tests have unknown return code by design --- diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh index 00c1fbd02..940edb6bc 100755 --- a/test/TEST-30-ISCSI/test.sh +++ b/test/TEST-30-ISCSI/test.sh @@ -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 }