diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2017-06-09 09:52:43 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2017-07-11 13:32:13 -0400 |
commit | 20abf7e1873813a1190377933aad0f8e57a3bea1 (patch) | |
tree | 89fee7648a678cdf5f035ef923e4c0869539fadb | |
parent | 359ad31c327e14843dd80da6be56003e0c26b02f (diff) | |
download | mongo-20abf7e1873813a1190377933aad0f8e57a3bea1.tar.gz |
SERVER-28596 Handle cases when binary is invoked with options for the unittest
(cherry picked from commit ff952170b92c0d3a0c9e4d3387478b70d4340d9c)
-rw-r--r-- | etc/evergreen.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 3d450777b9e..3082651ee1c 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -1106,7 +1106,7 @@ post: # On platforms with GDB, we get the binary name from core file gdb=/opt/mongodbtoolchain/gdb/bin/gdb if [ -f $gdb ]; then - binary_file=$($gdb -batch --quiet -ex "core $core_file" 2> /dev/null | grep "Core was generated" | cut -f2 -d "\`" | cut -f1 -d "'") + binary_file=$($gdb -batch --quiet -ex "core $core_file" 2> /dev/null | grep "Core was generated" | cut -f2 -d "\`" | cut -f1 -d "'" | cut -f1 -d " ") binary_file_locations=$binary_file else # Find the base file name from the core file name, note it may be truncated. |