summaryrefslogtreecommitdiffstats
path: root/test/functest/scripts/start-simulators.sh
diff options
context:
space:
mode:
authorShankaranarayanan Puzhavakath Narayanan <snarayanan@research.att.com>2020-03-20 14:49:44 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-20 14:49:44 +0000
commit420f4b3a4ca25d5de5c9318b2ca89e1ef126b278 (patch)
tree5aa3a38e453d999a6ab0704c2651a08520088a19 /test/functest/scripts/start-simulators.sh
parentfa538d59b8982a48fd58f024a30a59616d43cf81 (diff)
parent6f3312c6576eefdbac120214b1adc0f150b72d98 (diff)
Merge "fix csit, cleanup dockerfile for osdf"
Diffstat (limited to 'test/functest/scripts/start-simulators.sh')
-rwxr-xr-xtest/functest/scripts/start-simulators.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/functest/scripts/start-simulators.sh b/test/functest/scripts/start-simulators.sh
index a3f3db1..66507d4 100755
--- a/test/functest/scripts/start-simulators.sh
+++ b/test/functest/scripts/start-simulators.sh
@@ -20,7 +20,12 @@
# This script is in osdf/test/functest/scripts/
-SCRIPTDIR=$(dirname $(readlink -f $0))
+if [[ `uname` == "Darwin" ]]
+then
+ SCRIPTDIR=$(dirname $(greadlink -f $0))
+else
+ SCRIPTDIR=$(dirname $(readlink -f $0))
+fi
FUNC_TEST_DIR=$(dirname $SCRIPTDIR)
TEST_DIR=$(dirname $FUNC_TEST_DIR)
OSDF_DIR=$(dirname $TEST_DIR)