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

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

Issue 1203002: add ScreenSaverUnlock autotest and teach ScreenSaverRunning to log in (Closed)
Patch Set: fix copyright year in control file, again Created 10 years, 9 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 | « client/config/autox_unlock.json ('k') | client/site_tests/desktopui_ScreenSaverUnlock/control » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/desktopui_ScreenSaverRunning/desktopui_ScreenSaverRunning.py
diff --git a/client/site_tests/desktopui_ScreenSaverRunning/desktopui_ScreenSaverRunning.py b/client/site_tests/desktopui_ScreenSaverRunning/desktopui_ScreenSaverRunning.py
deleted file mode 100644
index 7434e2bcefeb96602eed60928e42b35065794282..0000000000000000000000000000000000000000
--- a/client/site_tests/desktopui_ScreenSaverRunning/desktopui_ScreenSaverRunning.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import logging, utils
-from autotest_lib.client.bin import test
-from autotest_lib.client.common_lib import error
-
-class desktopui_ScreenSaverRunning(test.test):
- version = 1
-
- def run_once(self):
- # check if the screensaver process is running and alive
- usr = 'chronos'
- cmd = 'export DISPLAY=:0.0 && xscreensaver-command -version'
- try:
- utils.system('su %s -c \'%s\'' % (usr, cmd))
- except error.CmdError, e:
- logging.debug(e)
- raise error.TestFail('xscreensaver is not alive')
« no previous file with comments | « client/config/autox_unlock.json ('k') | client/site_tests/desktopui_ScreenSaverUnlock/control » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698