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

Side by Side Diff: autotest/client/hardware_TPMFirmware/hardware_TPMFirmware.py

Issue 3335018: vboot_reference: move tests into client/ and also put the server test in here (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging, os, re, sys, shutil 5 import logging, os, re, sys, shutil
6 from autotest_lib.client.bin import test, utils 6 from autotest_lib.client.bin import test, utils
7 7
8 class hardware_TPMFirmware(test.test): 8 class hardware_TPMFirmware(test.test):
9 """ 9 """
10 Test of TPM functionality needed in firmware (client side of the test). 10 Test of TPM functionality needed in firmware (client side of the test).
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 self.tpm_setup() 52 self.tpm_setup()
53 self.tpm_write_status(0) 53 self.tpm_write_status(0)
54 elif (subtest == 'takeownership'): 54 elif (subtest == 'takeownership'):
55 self.tpm_setup(with_tcsd=True) 55 self.tpm_setup(with_tcsd=True)
56 own_cmd = os.path.join(self.bindir, "tpm_takeownership -y -z") 56 own_cmd = os.path.join(self.bindir, "tpm_takeownership -y -z")
57 self.tpm_run(own_cmd) 57 self.tpm_run(own_cmd)
58 else: 58 else:
59 self.tpm_setup() 59 self.tpm_setup()
60 cmd = os.path.join(self.srcdir, subtest) 60 cmd = os.path.join(self.srcdir, subtest)
61 self.tpm_run(cmd, ignore_status=True) 61 self.tpm_run(cmd, ignore_status=True)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698