diff --git a/lib/main.js b/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -92,7 +92,7 @@ function runTests (outputDir, version) {
       return new Promise(function (resolve, reject) {
         childProcess.exec(
           command,
-          {shell: '/bin/bash'},
+          {shell: '/bin/bash', cwd: versionDir},
           function (err, stdout, stderr) {
             logger.debug('[%s] stdout:\n%s', version, stdout)
             logger.debug('[%s] stderr:\n%s', version, stderr)
Fix working directory for test exection