test/TEST-30-ISCSI: depend on tgtd and tgtadm

the testsuite now needs tgtd and tgtadm and not iscsi-target
master
Harald Hoyer 2016-08-22 13:32:03 +02:00
parent a84c391b87
commit dba974844e
1 changed files with 2 additions and 2 deletions

View File

@ -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