From: Harald Hoyer Date: Mon, 22 Aug 2016 11:32:03 +0000 (+0200) Subject: test/TEST-30-ISCSI: depend on tgtd and tgtadm X-Git-Tag: 045~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dba974844eaff2beb31a3c248965f5789d22bbb6;p=thirdparty%2Fdracut.git test/TEST-30-ISCSI: depend on tgtd and tgtadm the testsuite now needs tgtd and tgtadm and not iscsi-target --- diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh index 63944b3a6..d4f0f8c61 100755 --- a/test/TEST-30-ISCSI/test.sh +++ b/test/TEST-30-ISCSI/test.sh @@ -138,8 +138,8 @@ test_run() { } test_setup() { - if [ ! -x /usr/sbin/iscsi-target ]; then - echo "Need iscsi-target from netbsd-iscsi" + if ! command -v tgtd &>/dev/null || ! command -v tgtadm &>/dev/null; then + echo "Need tgtd and tgtadm from scsi-target-utils" return 1 fi