summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 18:29:26 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 18:29:26 +0000
commit683a8d3f93f581e656880a16b8a67924fcf05fb5 (patch)
treeed70e7dddd19ed67bc254232b3fdd1c4d4dc3e3e /build
parent9636306b2dfd1cdb56c0a9080876c3bfc7cf14b5 (diff)
downloadchromium_src-683a8d3f93f581e656880a16b8a67924fcf05fb5.zip
chromium_src-683a8d3f93f581e656880a16b8a67924fcf05fb5.tar.gz
chromium_src-683a8d3f93f581e656880a16b8a67924fcf05fb5.tar.bz2
Android: further "user build" perf test automation.
Use "cat /dev/null" rather than "echo". "echo" is not guaranteed to be in the path or the system image. "cat" seems available on the images used by the bots. BUG=175127 Review URL: https://chromiumcodereview.appspot.com/12230008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/android_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 4c3c6fe..a4340b2 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -729,7 +729,7 @@ class AndroidCommands(object):
Devices running user builds don't have adb root, but may provide "su" which
can be used for accessing protected files.
"""
- return self.RunShellCommand('su -c echo') == ['']
+ return self.RunShellCommand('su -c cat /dev/null') == ['']
def GetProtectedFileContents(self, filename, log_result=False):
"""Gets contents from the protected file specified by |filename|.