ia64/xen-unstable
changeset 11650:000aa9510e55
[XM-TEST] Remove the test for /dev/tpm0, which may be a prerequisite to start
the vtpm_manager. A 'SKIP' is shown if the vtpm_manager process has not been started.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
the vtpm_manager. A 'SKIP' is shown if the vtpm_manager process has not been started.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author | kfraser@localhost.localdomain |
---|---|
date | Wed Sep 27 14:30:36 2006 +0100 (2006-09-27) |
parents | d78b31dd07e8 |
children | 5c522692edd1 |
files | tools/xm-test/tests/vtpm/vtpm_utils.py |
line diff
1.1 --- a/tools/xm-test/tests/vtpm/vtpm_utils.py Wed Sep 27 14:28:26 2006 +0100 1.2 +++ b/tools/xm-test/tests/vtpm/vtpm_utils.py Wed Sep 27 14:30:36 2006 +0100 1.3 @@ -8,12 +8,10 @@ from XmTestLib import * 1.4 if ENABLE_HVM_SUPPORT: 1.5 SKIP("vtpm tests not supported for HVM domains") 1.6 1.7 -if not os.path.exists("/dev/tpm0"): 1.8 - SKIP("This machine has no hardware TPM; cannot run this test") 1.9 - 1.10 status, output = traceCommand("ps aux | grep vtpm_manager | grep -v grep") 1.11 if output == "": 1.12 - FAIL("virtual TPM manager must be started to run this test") 1.13 + SKIP("virtual TPM manager must be started to run this test; might " 1.14 + "need /dev/tpm0") 1.15 1.16 def vtpm_cleanup(domName): 1.17 traceCommand("/etc/xen/scripts/vtpm-delete %s" % domName)