diff --git a/tests/integration/common.sh b/tests/integration/common.sh index 2f14864e..4b5f99b0 100755 --- a/tests/integration/common.sh +++ b/tests/integration/common.sh @@ -29,14 +29,7 @@ ## This file defines constants and common functions for test cases. -if [ "$(uname)" = "Linux" ]; then - echo "OS is Linux" - readonly CUR_DIR="$(dirname "$(realpath -s "$0")")" -elif [ "$(uname)" = "Darwin" ]; then - echo "OS is Darwin" - readonly CUR_DIR="$(dirname "$(realpath "$0")")" -fi - +readonly CUR_DIR="$(dirname "$(realpath -s "$0")")" readonly TEST_ROOT_DIR=${CUR_DIR} readonly RUNTIME_DIR=/tmp/test-ot-commissioner