Give monkey EXTERNAL_STORAGE.

This commit is contained in:
Simo Kinnunen
2014-01-30 14:22:23 +09:00
parent 090908f161
commit 4b934f5c66

View File

@@ -159,7 +159,10 @@ module.exports = function(options) {
.then(function(port) {
var log = logger.createLogger('device:remote:monkey')
return adb.shellAsync(options.serial, [
'monkey'
// Some devices fail without an SD card installed; we can
// fake an external storage using this method
'EXTERNAL_STORAGE=/data/local/tmp'
, 'monkey'
, '--port', port
])
.then(function(out) {