From: Kefu Chai Date: Fri, 20 Dec 2019 11:56:19 +0000 (+0800) Subject: mgr/dashboard: restore working directory after creating venv X-Git-Tag: v15.1.0~420^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e075fd91aaa56cd7ad4b3786402fed06a72a11e0;p=ceph.git mgr/dashboard: restore working directory after creating venv this change addresses the regression introduced by 79584862f6 Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/dashboard/run-backend-api-tests.sh b/src/pybind/mgr/dashboard/run-backend-api-tests.sh index 9afa0ec7190..6eacc2cfaf2 100755 --- a/src/pybind/mgr/dashboard/run-backend-api-tests.sh +++ b/src/pybind/mgr/dashboard/run-backend-api-tests.sh @@ -34,6 +34,8 @@ get_cmake_variable() { } [ -z "$BUILD_DIR" ] && BUILD_DIR=build +CURR_DIR=`pwd` +LOCAL_BUILD_DIR="$CURR_DIR/../../../../$BUILD_DIR" setup_teuthology() { TEMP_DIR=`mktemp -d`