[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.0.3-testing] [XM-TEST] Remove the test for /dev/tpm0, which may be a prerequisite to start
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1159363836 -3600 # Node ID 000aa9510e5587f869a743121dd06ad2e0f21a99 # Parent d78b31dd07e8d46032546dea2d68da229bf812c5 [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@xxxxxxxxxx> --- tools/xm-test/tests/vtpm/vtpm_utils.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -r d78b31dd07e8 -r 000aa9510e55 tools/xm-test/tests/vtpm/vtpm_utils.py --- a/tools/xm-test/tests/vtpm/vtpm_utils.py Wed Sep 27 14:28:26 2006 +0100 +++ b/tools/xm-test/tests/vtpm/vtpm_utils.py Wed Sep 27 14:30:36 2006 +0100 @@ -8,12 +8,10 @@ if ENABLE_HVM_SUPPORT: if ENABLE_HVM_SUPPORT: SKIP("vtpm tests not supported for HVM domains") -if not os.path.exists("/dev/tpm0"): - SKIP("This machine has no hardware TPM; cannot run this test") - status, output = traceCommand("ps aux | grep vtpm_manager | grep -v grep") if output == "": - FAIL("virtual TPM manager must be started to run this test") + SKIP("virtual TPM manager must be started to run this test; might " + "need /dev/tpm0") def vtpm_cleanup(domName): traceCommand("/etc/xen/scripts/vtpm-delete %s" % domName) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |