direct-io.hg

view tools/xm-test/tests/vtpm/vtpm_utils.py @ 14359:2f63ed3c5fb9

[XM-TEST] vTPM test changes

Remove an uninitialized variable.
For some reason the 'ps aux' command does not see the process anymore
(since some time on the weekend). Need to add 'COLUMNS=n'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author kfraser@localhost.localdomain
date Tue Mar 13 09:52:51 2007 +0000 (2007-03-13)
parents 000aa9510e55
children
line source
1 #!/usr/bin/python
3 # Copyright (C) International Business Machines Corp., 2006
4 # Author: Stefan Berger <stefanb@us.ibm.com>
6 from XmTestLib import *
8 if ENABLE_HVM_SUPPORT:
9 SKIP("vtpm tests not supported for HVM domains")
11 status, output = traceCommand("COLUMNS=200 ; "
12 "ps aux | grep vtpm_manager | grep -v grep")
13 if output == "":
14 SKIP("virtual TPM manager must be started to run this test; might "
15 "need /dev/tpm0")
17 def vtpm_cleanup(domName):
18 traceCommand("/etc/xen/scripts/vtpm-delete %s" % domName)