diff options
author | vrvarma <vikas.varma@att.com> | 2020-03-19 20:02:54 -0400 |
---|---|---|
committer | vrvarma <vikas.varma@att.com> | 2020-03-20 00:17:24 -0400 |
commit | 6f3312c6576eefdbac120214b1adc0f150b72d98 (patch) | |
tree | ccd11c7e51b6c1c61828b39c957f3bc712fbed46 /test/functest/scripts/start-simulators.sh | |
parent | d39860b859417c1a7773f39ad8db311848ec0676 (diff) |
fix csit, cleanup dockerfile for osdf
Change-Id: Ie3d44592a382ba8e886c2a7544520cbed6971f84
Signed-off-by: vrvarma <vikas.varma@att.com>
Issue-ID: OPTFRA-722
Diffstat (limited to 'test/functest/scripts/start-simulators.sh')
-rwxr-xr-x | test/functest/scripts/start-simulators.sh | 7 |
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) |