]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization 22833/head
authorRicardo Dias <rdias@suse.com>
Tue, 3 Jul 2018 15:57:06 +0000 (16:57 +0100)
committerRicardo Dias <rdias@suse.com>
Mon, 29 Oct 2018 15:47:14 +0000 (15:47 +0000)
Signed-off-by: Ricardo Dias <rdias@suse.com>
src/pybind/mgr/dashboard/run-frontend-unittests.sh

index 403775af0a87750e184844449aa2ca7f90cec1c1..b01a6acc13befb36350ad7d889538146ae92e06c 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/env bash
 
 failed=false
+: ${CEPH_ROOT:=$PWD/../../../../}
 cd $CEPH_ROOT/src/pybind/mgr/dashboard/frontend
 if [ `uname` != "FreeBSD" ]; then
   .  $CEPH_ROOT/build/src/pybind/mgr/dashboard/node-env/bin/activate