Merge "adb/test_device.py: fix finding md5 command on pre-L platforms"
This commit is contained in:
@@ -404,7 +404,7 @@ def get_md5_prog(device):
|
|||||||
try:
|
try:
|
||||||
device.shell(['md5sum', '/proc/uptime'])
|
device.shell(['md5sum', '/proc/uptime'])
|
||||||
return 'md5sum'
|
return 'md5sum'
|
||||||
except subprocess.CalledProcessError:
|
except adb.ShellError:
|
||||||
return 'md5'
|
return 'md5'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user