diff options
Diffstat (limited to 'evergreen/functions')
-rwxr-xr-x | evergreen/functions/binary_version_check.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/evergreen/functions/binary_version_check.sh b/evergreen/functions/binary_version_check.sh deleted file mode 100755 index a83aa0dc203..00000000000 --- a/evergreen/functions/binary_version_check.sh +++ /dev/null @@ -1,16 +0,0 @@ -DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" -. "$DIR/../prelude.sh" - -cd src - -set -o errexit -mongo_binary=dist-test/bin/mongo${exe} -activate_venv -bin_ver=$($python -c "import yaml; print(yaml.safe_load(open('version_expansions.yml'))['version']);" | tr -d '[ \r\n]') -# Due to SERVER-23810, we cannot use $mongo_binary --quiet --nodb --eval "version();" -mongo_ver=$($mongo_binary --version | perl -pe '/version v([^\"]*)/; $_ = $1;' | tr -d '[ \r\n]') -# The versions must match -if [ "$bin_ver" != "$mongo_ver" ]; then - echo "The mongo version is $mongo_ver, expected version is $bin_ver" - exit 1 -fi |