From 3448ddb2ec7b3e210dfc97c0296dd7496f5c7813 Mon Sep 17 00:00:00 2001 From: Jonathan Abrahams Date: Tue, 9 May 2017 18:24:59 -0400 Subject: [PATCH] SERVER-27874 - Fix quoting for test_flags --- etc/evergreen.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 9c783888d36..2b988566d13 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -8774,7 +8774,11 @@ buildvariants: gorootvars: GOROOT=/opt/go PATH="/opt/go/bin:$PATH" tooltags: "-tags 'ssl sasl'" rlp_environment: MONGOD_UNITTEST_RLP_LANGUAGE_TEST_BTROOT=/opt/basis - test_flags: "\"--mongodSetParameters={use3dot4Rollback: true}\"" + # Write the resmoke.py value using a YAML "folded style" (>) string in order to be able to + # nest curly braces inside. The curly braces "{}" need their own quotes to protect them from + # being interpreted by bash. + test_flags: > + --mongodSetParameters='{use3dot4Rollback: true}' compile_flags: --ssl MONGO_DISTMOD=rhel62 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_gcc.vars CPPPATH="/opt/basis/rlp/rlp/include /opt/basis/rlp/utilities/include" --use-basis-tech-rosette-linguistics-platform=on num_jobs_available: $(grep -c ^processor /proc/cpuinfo) use_scons_cache: true