Skip to content

Commit ee80b44

Browse files
committed
shell lint
1 parent 16b1365 commit ee80b44

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.evergreen/run-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eu
33

44
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
5-
ROOT_DIR="$(dirname $(dirname $SCRIPT_DIR))"
5+
ROOT_DIR="$(dirname "$(dirname $SCRIPT_DIR)")"
66

77
export PIP_QUIET=1 # Quiet by default
88
export PIP_PREFER_BINARY=1 # Prefer binary dists by default
@@ -62,7 +62,7 @@ fi
6262
# files in the xunit-results/ directory.
6363
TEST_ARGS=${TEST_ARGS}
6464
if [ "$#" -ne 0 ]; then
65-
TEST_ARGS=$@
65+
TEST_ARGS="$*"
6666
fi
6767
echo "Running tests with $TEST_ARGS..."
6868
if [ -z "${GREEN_FRAMEWORK:-}" ]; then

.evergreen/scripts/setup-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set -eu
2929
# PYTHON_BINARY The python binary to use in tests.
3030

3131
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
32-
ROOT_DIR="$(dirname $(dirname $SCRIPT_DIR))"
32+
ROOT_DIR="$(dirname "$(dirname $SCRIPT_DIR)")"
3333

3434
# Try to source the env file.
3535
if [ -f $SCRIPT_DIR/env.sh ]; then

.evergreen/scripts/teardown-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eu
33

44
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
5-
ROOT_DIR="$(dirname $(dirname $SCRIPT_DIR))"
5+
ROOT_DIR="$(dirname "$(dirname $SCRIPT_DIR)")"
66

77
# Remove temporary test files.
88
pushd $ROOT_DIR > /dev/null

0 commit comments

Comments
 (0)