From b712dddfc04c3ed5e00906fb8ab749d45b9d2933 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 26 Jun 2015 16:25:44 +0100 Subject: [PATCH] android device: update android_prompt so that it works even if is not / --- wlauto/common/android/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlauto/common/android/device.py b/wlauto/common/android/device.py index c74362fe..256d59a0 100644 --- a/wlauto/common/android/device.py +++ b/wlauto/common/android/device.py @@ -46,7 +46,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223 parameters = [ Parameter('adb_name', description='The unique ID of the device as output by "adb devices".'), - Parameter('android_prompt', kind=regex, default=re.compile('^.*(shell|root)@.*:/ [#$] ', re.MULTILINE), + Parameter('android_prompt', kind=regex, default=re.compile('^.*(shell|root)@.*:/\S* [#$] ', re.MULTILINE), description='The format of matching the shell prompt in Android.'), Parameter('working_directory', default='/sdcard/wa-working', description='Directory that will be used WA on the device for output files etc.'),