direct-io.hg

changeset 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 f2f83691f714
children 1877857352ae
files tools/xm-test/tests/vtpm/09_vtpm-xapi.py tools/xm-test/tests/vtpm/vtpm_utils.py
line diff
     1.1 --- a/tools/xm-test/tests/vtpm/09_vtpm-xapi.py	Tue Mar 13 09:52:11 2007 +0000
     1.2 +++ b/tools/xm-test/tests/vtpm/09_vtpm-xapi.py	Tue Mar 13 09:52:51 2007 +0000
     1.3 @@ -91,7 +91,7 @@ if vtpm_uuid not in vm_vtpms:
     1.4  try:
     1.5      console = domain.start()
     1.6  except DomainError, e:
     1.7 -    FAIL("Unable to create domain (%s)" % domName)
     1.8 +    FAIL("Unable to create domain (%s)")
     1.9  
    1.10  try:
    1.11      console.sendInput("input")
     2.1 --- a/tools/xm-test/tests/vtpm/vtpm_utils.py	Tue Mar 13 09:52:11 2007 +0000
     2.2 +++ b/tools/xm-test/tests/vtpm/vtpm_utils.py	Tue Mar 13 09:52:51 2007 +0000
     2.3 @@ -8,7 +8,8 @@ from XmTestLib import *
     2.4  if ENABLE_HVM_SUPPORT:
     2.5      SKIP("vtpm tests not supported for HVM domains")
     2.6  
     2.7 -status, output = traceCommand("ps aux | grep vtpm_manager | grep -v grep")
     2.8 +status, output = traceCommand("COLUMNS=200 ; "
     2.9 +                              "ps aux | grep vtpm_manager | grep -v grep")
    2.10  if output == "":
    2.11      SKIP("virtual TPM manager must be started to run this test; might "
    2.12           "need /dev/tpm0")