diff mbox

[kvm-unit-tests] vmexit.c: Fix typos in vmexit test-cases list

Message ID 1506512498-27529-1-git-send-email-stitaevskiy@virtuozzo.com (mailing list archive)
State New, archived
Headers show

Commit Message

Serg Titaevskiy Sept. 27, 2017, 11:41 a.m. UTC
Some test-case names were different from arguments passing by
unittests.cfg.
So, these cases didn't PASS really.

Signed-off-by: Serg Titaevskiy <stitaevskiy@virtuozzo.com>
---
 x86/vmexit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Paolo Bonzini Sept. 27, 2017, 1:50 p.m. UTC | #1
On 27/09/2017 13:41, Serg Titaevskiy wrote:
> Some test-case names were different from arguments passing by
> unittests.cfg.
> So, these cases didn't PASS really.
> 
> Signed-off-by: Serg Titaevskiy <stitaevskiy@virtuozzo.com>
> ---
>  x86/vmexit.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/x86/vmexit.c b/x86/vmexit.c
> index 5b821b5..8e5b923 100644
> --- a/x86/vmexit.c
> +++ b/x86/vmexit.c
> @@ -410,8 +410,8 @@ static struct test tests[] = {
>  	{ x2apic_self_ipi_tpr_sti_nop, "x2apic_self_ipi_tpr_sti_nop", is_x2apic, .parallel = 0, },
>  	{ x2apic_self_ipi_tpr_sti_hlt, "x2apic_self_ipi_tpr_sti_hlt", is_x2apic, .parallel = 0, },
>  	{ ipi, "ipi", is_smp, .parallel = 0, },
> -	{ ipi_halt, "ipi+halt", is_smp, .parallel = 0, },
> -	{ ple_round_robin, "ple-round-robin", .parallel = 1 },
> +	{ ipi_halt, "ipi_halt", is_smp, .parallel = 0, },
> +	{ ple_round_robin, "ple_round_robin", .parallel = 1 },
>  	{ wr_tsc_adjust_msr, "wr_tsc_adjust_msr", .parallel = 1 },
>  	{ rd_tsc_adjust_msr, "rd_tsc_adjust_msr", .parallel = 1 },
>  	{ NULL, "pci-mem", .parallel = 0, .next = pci_mem_next },
> 

Nice. :)

Paolo
diff mbox

Patch

diff --git a/x86/vmexit.c b/x86/vmexit.c
index 5b821b5..8e5b923 100644
--- a/x86/vmexit.c
+++ b/x86/vmexit.c
@@ -410,8 +410,8 @@  static struct test tests[] = {
 	{ x2apic_self_ipi_tpr_sti_nop, "x2apic_self_ipi_tpr_sti_nop", is_x2apic, .parallel = 0, },
 	{ x2apic_self_ipi_tpr_sti_hlt, "x2apic_self_ipi_tpr_sti_hlt", is_x2apic, .parallel = 0, },
 	{ ipi, "ipi", is_smp, .parallel = 0, },
-	{ ipi_halt, "ipi+halt", is_smp, .parallel = 0, },
-	{ ple_round_robin, "ple-round-robin", .parallel = 1 },
+	{ ipi_halt, "ipi_halt", is_smp, .parallel = 0, },
+	{ ple_round_robin, "ple_round_robin", .parallel = 1 },
 	{ wr_tsc_adjust_msr, "wr_tsc_adjust_msr", .parallel = 1 },
 	{ rd_tsc_adjust_msr, "rd_tsc_adjust_msr", .parallel = 1 },
 	{ NULL, "pci-mem", .parallel = 0, .next = pci_mem_next },