diff options
author | vrvarma <vikas.varma@att.com> | 2020-09-18 12:40:08 -0400 |
---|---|---|
committer | vrvarma <vikas.varma@att.com> | 2020-09-18 13:12:59 -0400 |
commit | cc7372eefd2cc1ec0737f765a2600396f13e13ab (patch) | |
tree | 0b608a0b4aef2b5d31243ac08661d0149483c691 /test/functest/simulators/build_sim_image.sh | |
parent | a55cbabaef4975d5007363e59d4560cb30a855e3 (diff) |
Fix osdf csit failure by fixing logging
log.yml file needs to be updated for the osdf simulators after the python upgrade
simulator dockerfile and scripts updated
Change-Id: Ie6f59a602dc39db684e88357dc36ee81a2015da0
Signed-off-by: vrvarma <vikas.varma@att.com>
Issue-ID: OPTFRA-842
Diffstat (limited to 'test/functest/simulators/build_sim_image.sh')
-rwxr-xr-x | test/functest/simulators/build_sim_image.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/functest/simulators/build_sim_image.sh b/test/functest/simulators/build_sim_image.sh index c6bde2a..5d46ecb 100755 --- a/test/functest/simulators/build_sim_image.sh +++ b/test/functest/simulators/build_sim_image.sh @@ -18,7 +18,13 @@ # ------------------------------------------------------------------------- # -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) SIMULATORS_DIR=$FUNC_TEST_DIR/simulators |