Skip to content

Commit 6a0686e

Browse files
authored
Remove usages of xtrace (#579)
1 parent 259809b commit 6a0686e

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.evergreen/auth_aws/lib/ecs_hosted_test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# A shell script to run in an ECS hosted task
3-
set -ex
3+
set -e
4+
5+
echo "Running ECS hosted test..."
46

57
# The environment variable is always set during interactive logins
68
# But for non-interactive logs, ~/.bashrc does not appear to be read on Ubuntu but it works on Fedora
@@ -14,3 +16,5 @@ mkdir -p /data/db || true
1416
sleep 1
1517
/root/mongosh --verbose ecs_hosted_test.js
1618
bash /root/src/.evergreen/run-mongodb-aws-ecs-test.sh "mongodb://localhost/aws?authMechanism=MONGODB-AWS"
19+
20+
echo "Running ECS hosted test... done."

.evergreen/install-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# Install the drivers orchestration scripts.
33

4-
set -eux
4+
set -eu
55

66
if [ -z "$BASH" ]; then
77
echo "install-cli.sh must be run in a Bash shell!" 1>&2

.evergreen/install-node.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ node_download_url="https://nodejs.org/dist/${node_index_version}/${node_archive}
8989

9090
echo "Node.js ${node_index_version} for ${operating_system}-${architecture} released on ${node_index_date}"
9191

92-
set -o xtrace
93-
9492
if [[ "$file_extension" = "zip" ]]; then
9593
if [[ -d "${NODE_ARTIFACTS_PATH}/nodejs/bin/${node_directory}" ]]; then
9694
echo "Node.js already installed!"

.evergreen/tests/test-cli.sh

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

33
# Test mongodl and mongosh_dl.
4-
set -eux
4+
set -eu
55

66
SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})
77
. $SCRIPT_DIR/../handle-paths.sh

.evergreen/tests/test-csfle.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Test csfle
4-
set -eux
4+
set -eu
55

66
SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})
77
. $SCRIPT_DIR/../handle-paths.sh
@@ -13,13 +13,15 @@ PYTHON_BINARY=$(bash -c ". $SCRIPT_DIR/../find-python3.sh && ensure_python3 2>/d
1313
export PYTHON_BINARY
1414

1515
function run_test() {
16+
echo "Running csfle test with $PYTHON_BINARY..."
1617
bash ./setup.sh
1718
bash ./teardown.sh
1819
# Bail on Windows due to permission errors trying to remove the kmstlsvenv folder.
1920
if [[ "$(uname -s)" == CYGWIN* ]]; then
2021
return 0
2122
fi
2223
rm -rf kmstlsvenv
24+
echo "Running csfle test with $PYTHON_BINARY... done."
2325
}
2426
run_test
2527

0 commit comments

Comments
 (0)