Skip to content

Commit 68c9d29

Browse files
committed
run-with-env.sh should use -u not -eu
1 parent f7ad42d commit 68c9d29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.evergreen/scripts/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
# Disable xtrace
34
set +x
45
if [ -n "${MONGODB_STARTED}" ]; then
56
export PYMONGO_MUST_CONNECT=true
@@ -40,7 +41,6 @@ fi
4041
if [ -n "${SKIP_CSOT_TESTS}" ]; then
4142
export SKIP_CSOT_TESTS=1
4243
fi
43-
4444
GREEN_FRAMEWORK=${GREEN_FRAMEWORK} \
4545
PYTHON_BINARY=${PYTHON_BINARY} \
4646
NO_EXT=${NO_EXT} \

.evergreen/scripts/run-with-env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -eu
1+
#!/bin/bash -u
22

33
# Example use: bash run-with-env.sh run-tests.sh {args...}
44

@@ -15,7 +15,7 @@ else
1515
fi
1616
fi
1717

18-
set -eu
18+
set -u
1919

2020
# shellcheck source=/dev/null
2121
. "$1" "${@:2}"

0 commit comments

Comments
 (0)