1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00

Fix version check on Xiaomi devices by removing "open: Permission denied" from the output.

This commit is contained in:
Simo Kinnunen 2014-09-30 12:05:49 +09:00
parent f28af63d38
commit 4bb0c4cb82

View file

@ -48,7 +48,7 @@ module.exports = syrup.serial()
log.info('Running version check')
return adb.shell(options.serial, util.format(
"export CLASSPATH='%s';" +
" exec app_process /system/bin '%s' --version"
" exec app_process /system/bin '%s' --version 2>/dev/null"
, installedPath
, resource.main
))