Re: [kvm-unit-tests PATCH] s390x: stsi: Make output tap13 compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/05/2020 10.43, Janosch Frank wrote:
> In tap13 output # is a special character and only "skip" and "todo"
> are allowed to come after it. Let's appease our CI environment and
> replace # with "count".
> 
> Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
> ---
>  s390x/stsi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/s390x/stsi.c b/s390x/stsi.c
> index 66b4257..b81cea7 100644
> --- a/s390x/stsi.c
> +++ b/s390x/stsi.c
> @@ -129,11 +129,11 @@ static void test_3_2_2(void)
>  	}
>  
>  	report(!memcmp(data->vm[0].uuid, uuid, sizeof(uuid)), "uuid");
> -	report(data->vm[0].conf_cpus == smp_query_num_cpus(), "cpu # configured");
> +	report(data->vm[0].conf_cpus == smp_query_num_cpus(), "cpu count configured");
>  	report(data->vm[0].total_cpus ==
>  	       data->vm[0].reserved_cpus + data->vm[0].conf_cpus,
> -	       "cpu # total == conf + reserved");
> -	report(data->vm[0].standby_cpus == 0, "cpu # standby");
> +	       "cpu count total == conf + reserved");
> +	report(data->vm[0].standby_cpus == 0, "cpu count standby");
>  	report(!memcmp(data->vm[0].name, vm_name, sizeof(data->vm[0].name)),
>  	       "VM name == kvm-unit-test");

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux