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

Unified Diff: client/site_tests/power_LoadTest/power_LoadTest.py

Issue 1754002: Fix Bug 2746: xset is not working in power_LoadTest (Closed)
Patch Set: Simplify change to just fix bug 2746 Created 10 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/power_LoadTest/power_LoadTest.py
diff --git a/client/site_tests/power_LoadTest/power_LoadTest.py b/client/site_tests/power_LoadTest/power_LoadTest.py
index 84a4945be1180f3f695f1b32aa4577492d911857..d9ecded74cc8478ac2d47091ff0e04f0d90c28b9 100755
--- a/client/site_tests/power_LoadTest/power_LoadTest.py
+++ b/client/site_tests/power_LoadTest/power_LoadTest.py
@@ -79,7 +79,7 @@ class power_LoadTest(test.test):
os.system('stop screen-locker')
# disable screen blanking
- site_ui.xcommand(os.path.join(self.bindir, 'xset') + ' -dpms')
+ site_ui.xsystem(os.path.join(self.bindir, 'xset') + ' -dpms')
# fix up file perms for the power test extension so that chrome
# can access it
@@ -167,7 +167,7 @@ class power_LoadTest(test.test):
def cleanup(self):
# re-enable screen blanking
- site_ui.xcommand(os.path.join(self.bindir, 'xset') + ' +dpms')
+ site_ui.xsystem(os.path.join(self.bindir, 'xset') + ' +dpms')
# re-enable screen locker
os.system('start screen-locker')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698