ia64/xen-unstable
changeset 11487:d59d6a440a41
Revert change to vtpm_utils related to skipping the test when the tpm is not
found -- we need to skip the test on non-TPM platforms, of course.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
found -- we need to skip the test on non-TPM platforms, of course.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | Ewan Mellor <ewan@xensource.com> |
---|---|
date | Fri Sep 15 23:54:04 2006 +0100 (2006-09-15) |
parents | fe5c178cdf2e |
children | dc9fa4dcd19c |
files | tools/xm-test/tests/vtpm/vtpm_utils.py |
line diff
1.1 --- a/tools/xm-test/tests/vtpm/vtpm_utils.py Fri Sep 15 18:48:24 2006 +0100 1.2 +++ b/tools/xm-test/tests/vtpm/vtpm_utils.py Fri Sep 15 23:54:04 2006 +0100 1.3 @@ -8,6 +8,9 @@ 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")