From d6e3b703ab0b001b677e1e95587fbdccf90900ec Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 16 Aug 2019 14:39:46 +0100 Subject: [PATCH] tests: Rename virtiofsd build path Adjust to reflect that it's QEMU being built here in preparation for subsequent PRs that also want to build QEMU. Signed-off-by: Rob Bradford --- scripts/run_integration_tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/run_integration_tests.sh b/scripts/run_integration_tests.sh index 920802694..9c15e2c72 100755 --- a/scripts/run_integration_tests.sh +++ b/scripts/run_integration_tests.sh @@ -79,16 +79,16 @@ if [ ! -f "$VMLINUX_IMAGE" ]; then fi VIRTIOFSD="$WORKLOADS_DIR/virtiofsd" -VIRTIOFSD_DIR="virtiofsd_build" +QEMU_DIR="qemu_build" if [ ! -f "$VIRTIOFSD" ]; then pushd $WORKLOADS_DIR - git clone --depth 1 "https://github.com/sboeuf/qemu.git" -b "virtio-fs" $VIRTIOFSD_DIR - pushd $VIRTIOFSD_DIR + git clone --depth 1 "https://github.com/sboeuf/qemu.git" -b "virtio-fs" $QEMU_DIR + pushd $QEMU_DIR ./configure --prefix=$PWD --target-list=x86_64-softmmu make virtiofsd -j `nproc` cp virtiofsd $VIRTIOFSD popd - rm -rf $VIRTIOFSD_DIR + rm -rf $QEMU_DIR sudo setcap cap_sys_admin+epi "virtiofsd" popd fi