Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
kiwi
:
Appliance
>
dracut
> 0122-test-TEST-30-ISCSI-depend-on-tgtd-and-tgtadm.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0122-test-TEST-30-ISCSI-depend-on-tgtd-and-tgtadm.patch of Package dracut
From cb13dd279dd8cb542217a0dd58f9bf3fc2739b6b Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Mon, 22 Aug 2016 13:32:03 +0200 Subject: [PATCH] test/TEST-30-ISCSI: depend on tgtd and tgtadm the testsuite now needs tgtd and tgtadm and not iscsi-target --- test/TEST-30-ISCSI/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh index 63944b3a..d4f0f8c6 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