From: Kefu Chai Date: Sat, 14 Nov 2020 06:07:10 +0000 (+0800) Subject: pybind/mgr/dashboard/run-backend-api-tests: normalize path name X-Git-Tag: v16.1.0~525^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8c7fa2f788fe9b621fe2aa46119e6738b07543bc;p=ceph.git pybind/mgr/dashboard/run-backend-api-tests: normalize path name for better readability of logging messages 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 d37c4a3ee0f1..b8cdc78baac2 100755 --- a/src/pybind/mgr/dashboard/run-backend-api-tests.sh +++ b/src/pybind/mgr/dashboard/run-backend-api-tests.sh @@ -35,7 +35,7 @@ get_cmake_variable() { [ -z "$BUILD_DIR" ] && BUILD_DIR=build CURR_DIR=`pwd` -LOCAL_BUILD_DIR="$CURR_DIR/../../../../$BUILD_DIR" +LOCAL_BUILD_DIR=$(cd "$CURR_DIR/../../../../$BUILD_DIR"; pwd) setup_teuthology() { TEMP_DIR=`mktemp -d`