summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorErwin Pe <erwin.pe@mongodb.com>2023-01-24 15:03:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-24 16:13:16 +0000
commite190fc5eceba9ca6eab603cc6664ffe02f8ec7b1 (patch)
treeec035832714ad0e97c66992dd5afce7266b5f5b5 /evergreen
parentd43afd458ba40702b8dde044ecc38e58e49edde4 (diff)
downloadmongo-e190fc5eceba9ca6eab603cc6664ffe02f8ec7b1.tar.gz
SERVER-73226 Fix parsing of readelf output in crypt_run_tests.sh
Diffstat (limited to 'evergreen')
-rwxr-xr-xevergreen/crypt_run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/evergreen/crypt_run_tests.sh b/evergreen/crypt_run_tests.sh
index f02c5a04660..a68dc268855 100755
--- a/evergreen/crypt_run_tests.sh
+++ b/evergreen/crypt_run_tests.sh
@@ -48,7 +48,7 @@ mongo_crypt_v1_status_get_code@@MONGO_CRYPT_1.0
mongo_crypt_v1_status_get_error@@MONGO_CRYPT_1.0
mongo_crypt_v1_status_get_explanation@@MONGO_CRYPT_1.0'
-actual="$(readelf -W --dyn-syms "$SOPATH" | awk '$5 == "GLOBAL" && $7 != "UND" && $7 != "ABS" {print $(NF)}' | sort)"
+actual="$(readelf -W --dyn-syms "$SOPATH" | awk '$5 == "GLOBAL" && $7 != "UND" && $7 != "ABS" {print $8}' | sort)"
if [ "$actual" != "$expect" ]; then
echo "Error: symbols are not as expected in: $SOPATH"