From e47360672705998137d6eb75e5d18895d6ed1805 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 19 Nov 2015 13:18:58 -0800 Subject: [PATCH] env does not append, it replaces --- e2etestrunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2etestrunner.js b/e2etestrunner.js index 0414a15..c787cf5 100755 --- a/e2etestrunner.js +++ b/e2etestrunner.js @@ -80,7 +80,7 @@ function getLatestBoxVersion(callback) { function runTests(latestVersionInfo, callback) { debug('Running tests for %j', latestVersionInfo); - gNpmTest = shell.system('e2etestrunner', 'npm run-script parallel_test', { env: { BOX_VERSION: latestVersionInfo.version } }, function (error, stdout, stderr) { + gNpmTest = shell.system('e2etestrunner', 'BOX_VERSION=' + latestVersionInfo.version + ' npm run-script parallel_test', function (error, stdout, stderr) { gNpmTest = null; debug('Final test result', error);