Reverted part of patch in chageset 11483
Hello Ewan,
thanks for checking in the patch related to vtpm testing. I saw you
reverted part of the patch probably because the error message of the vtpm test ended up becoming a 'FAILURE' instead of a 'SKIP'. I have attached a new patch that again removes the test for /dev/tpm0, but now results in a 'SKIP' if the vtpm_manager process has not been started. The vtpm_manager might not be startable due to /dev/tpm0 missing but I don't want to check for this in the test anymore. So in effect this patch will only change the message associated with the 'SKIP'.
Stefan
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/tools/xm-test/tests/vtpm/vtpm_utils.py +1 -4
@@ -8,12 +8,9 @@ from XmTestLib import * 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") def vtpm_cleanup(domName): traceCommand("/etc/xen/scripts/vtpm-delete %s" % domName)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel