Skip to content

Commit

Permalink
sh_script: remove un-useful test step
Browse files Browse the repository at this point in the history
Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
  • Loading branch information
sunceping committed Jul 22, 2024
1 parent fddd8c0 commit 75190be
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions sh_script/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ def test_config_A_kill_vtpm_td():
"""
1. Create TDVM with vTPM device - vTPM TD and user TD should be running
2. Kill vtpm-td, check user TD status, tpm command should not work
3. Relaunch vtpm-td and create instance, check user TD status, tpm command should not work
"""
cmd = f'tpm2_pcrread sha256'

Expand All @@ -363,14 +362,6 @@ def test_config_A_kill_vtpm_td():

ctx.terminate_vtpm_td()

LOG.debug(cmd)
runner = ctx.exec_ssh_command(cmd)
assert runner[1] != "", "vTPM is still work after kill vTPM"

# Relaunch vtpm-td and create instance
ctx.start_vtpm_td()
ctx.execute_qmp()

LOG.debug(cmd)
runner = ctx.exec_ssh_command(cmd)
assert runner[1] != "", "vTPM is still work after kill vTPM"
Expand Down Expand Up @@ -918,7 +909,6 @@ def test_config_B_no_sb_kill_vtpm_td():
"""
1. Create TDVM with vTPM device - vTPM TD and user TD should be running
2. Kill vtpm-td, check user TD status, tpm command should not work
3. Relaunch vtpm-td and create instance, check user TD status, tpm command should not work
"""
cmd = f'tpm2_pcrread sha256'

Expand All @@ -931,14 +921,6 @@ def test_config_B_no_sb_kill_vtpm_td():

ctx.terminate_vtpm_td()

LOG.debug(cmd)
runner = ctx.exec_ssh_command(cmd)
assert runner[1] != "", "vTPM is still work after kill vTPM"

# Relaunch vtpm-td and create instance
ctx.start_vtpm_td()
ctx.execute_qmp()

LOG.debug(cmd)
runner = ctx.exec_ssh_command(cmd)
assert runner[1] != "", "vTPM is still work after kill vTPM"
Expand Down Expand Up @@ -1452,7 +1434,6 @@ def test_config_B_sb_kill_vtpm_td():
"""
1. Create TDVM with vTPM device - vTPM TD and user TD should be running
2. Kill vtpm-td, check user TD status, tpm command should not work
3. Relaunch vtpm-td and create instance, check user TD status, tpm command should not work
"""
cmd = f'tpm2_pcrread sha256'

Expand All @@ -1465,14 +1446,6 @@ def test_config_B_sb_kill_vtpm_td():

ctx.terminate_vtpm_td()

LOG.debug(cmd)
runner = ctx.exec_ssh_command(cmd)
assert runner[1] != "", "vTPM is still work after kill vTPM"

# Relaunch vtpm-td and create instance
ctx.start_vtpm_td()
ctx.execute_qmp()

LOG.debug(cmd)
runner = ctx.exec_ssh_command(cmd)
assert runner[1] != "", "vTPM is still work after kill vTPM"
Expand Down

0 comments on commit 75190be

Please sign in to comment.