summaryrefslogtreecommitdiffstats
path: root/o3d/tests
diff options
context:
space:
mode:
authorkkania@google.com <kkania@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 23:16:58 +0000
committerkkania@google.com <kkania@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 23:16:58 +0000
commit7e8d231820546f985729d5c44b7a7da13ab02cd4 (patch)
tree274e21d0da0334e63f7ca7066b8c3a48860bd5f4 /o3d/tests
parent83104ab7b05da66877214cb72513898bdb4d20a8 (diff)
downloadchromium_src-7e8d231820546f985729d5c44b7a7da13ab02cd4.zip
chromium_src-7e8d231820546f985729d5c44b7a7da13ab02cd4.tar.gz
chromium_src-7e8d231820546f985729d5c44b7a7da13ab02cd4.tar.bz2
Removes O3D plugin files with root privileges on Mac and Linux.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/tests')
-rw-r--r--o3d/tests/lab/runner_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/tests/lab/runner_util.py b/o3d/tests/lab/runner_util.py
index e80b7ee..cad387f 100644
--- a/o3d/tests/lab/runner_util.py
+++ b/o3d/tests/lab/runner_util.py
@@ -145,7 +145,7 @@ def UninstallO3DPlugin():
else:
for path in const.INSTALL_PATHS:
if os.path.exists(path):
- os.remove(path)
+ os.system('echo g00gl3 | sudo -S rm -rf "%s"' % path)
return not DoesAnO3DPluginExist()