Commit a33a7b44 authored by Seth Howell's avatar Seth Howell Committed by Daniel Verkamp
Browse files

test/config: minor error fixes to vm_setup.sh



The name of the rpm source for open-iscsi changes between fedora
releases. Also, there was a typo on the tsocks check.

Change-Id: I0f9810c51c35c3efd5616fad303d08b02d9e2218
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/416882


Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
parent dfe497c2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ cd ~


sudo dnf install -y jq
sudo dnf install -y tsocks
sudo dnf install -y valgrind
sudo dnf install -y nvme-cli
sudo dnf install -y ceph
@@ -95,7 +96,7 @@ if [ "$CURRENT_VERSION" == "$OPEN_ISCSI_VER" ]; then
        mkdir -p open-iscsi-install
        cd open-iscsi-install
        sudo dnf download --source iscsi-initiator-utils
        rpm2cpio iscsi-initiator-utils-6.2.0.874-3.git86e8892.fc26.src.rpm | cpio -idmv
        rpm2cpio $(ls) | cpio -idmv
        mkdir -p patches
        mv 00* patches/
        git clone https://github.com/open-iscsi/open-iscsi
@@ -167,7 +168,7 @@ else
    echo "qemu already checked out. Skipping"
fi
cd "$SPDK_QEMU_BRANCH"
if hash tsocks &> /dev/null; then
if hash tsocks 2> /dev/null; then
    git_param="--with-git='tsocks git'"
fi
./configure "$git_param" --prefix=/usr/local/qemu/$SPDK_QEMU_BRANCH --target-list="x86_64-softmmu" --enable-kvm --enable-linux-aio --enable-numa