]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/dashboard/run-backend-api-tests: normalize path name
authorKefu Chai <kchai@redhat.com>
Sat, 14 Nov 2020 06:07:10 +0000 (14:07 +0800)
committerTatjana Dehler <tdehler@suse.com>
Mon, 16 Nov 2020 11:12:25 +0000 (12:12 +0100)
for better readability of logging messages

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/run-backend-api-tests.sh

index d37c4a3ee0f19c1c539c290a4e62db8e527d2960..b8cdc78baac2c135304a70abb10bf5de08b5ec30 100755 (executable)
@@ -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`