From 40f8c5f951644007afcd06d4f3077e4f67191566 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Thu, 14 Dec 2017 16:40:47 -0700 Subject: [PATCH] vm_setup.sh: add libiscsi checkout libiscsi will be used to test our iscsi target for spec compliance. I check out the source from github incase we need to modify it and create our own branch later. Change-Id: I2d1c037e1aee47fa7f6f700ae186dd402f9ad52b Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/391887 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- test/config/vm_setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/config/vm_setup.sh b/test/config/vm_setup.sh index 1c558a3f93..1afd10bfec 100644 --- a/test/config/vm_setup.sh +++ b/test/config/vm_setup.sh @@ -138,6 +138,16 @@ cd qemu sudo make install cd ~ +# We currently don't make any changes to the libiscsi repository for our tests, but it is possible that we will need +# to later. Cloning from git is just future proofing the machines. +git clone https://github.com/sahlberg/libiscsi +cd libiscsi +./autogen.sh +./configure --prefix=/usr/local/libiscsi +make +sudo make install + + # create autorun-spdk.conf in home folder. This is sourced by the autotest_common.sh file. # By setting any one of the values below to 0, you can skip that specific test. If you are # using your autotest platform to do sanity checks before uploading to the build pool, it is