Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: tools/telemetry/telemetry/util/support_binaries_unittest.py

Issue 463353002: Make bitmaptools executable after downloading it from cloud storage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update w/ review feedback; all downloaded binaries must be executable Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/util/support_binaries.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/util/support_binaries_unittest.py
diff --git a/tools/telemetry/telemetry/util/support_binaries_unittest.py b/tools/telemetry/telemetry/util/support_binaries_unittest.py
index d04136b0af181fbe2dd6d895b46f6a0501d807a1..2ec5b468b57ebda438bdbcbf523d118287b9131d 100644
--- a/tools/telemetry/telemetry/util/support_binaries_unittest.py
+++ b/tools/telemetry/telemetry/util/support_binaries_unittest.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import os
+import stat
import unittest
from telemetry import decorators
@@ -15,3 +16,5 @@ class SupportBinariesTest(unittest.TestCase):
md5sum_path = support_binaries.FindPath('md5sum_bin_host', 'linux')
self.assertNotEquals(md5sum_path, None)
self.assertTrue(os.path.isabs(md5sum_path))
+ st = os.stat(md5sum_path)
+ self.assertTrue(st.st_mode & stat.S_IXUSR)
« no previous file with comments | « tools/telemetry/telemetry/util/support_binaries.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698