[LTP] we can ignore it and discuss the problem at 'Fix wrong checking of aarch64' from the_hoang0709@yahoo.com
Cui Bixuan
cuibixuan@huawei.com
Fri Dec 16 11:15:05 CET 2016
:-D
On 2016/12/16 16:25, Cui Bixuan wrote:
> There is a mistake for if (strcmp()) for skipping in aarch64.
> And there is the same error in aarch64be, so add it.
>
> Signed-off-by: Cui Bixuan <cuibixuan@huawei.com>
> ---
> testcases/kernel/mem/tunable/max_map_count.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/mem/tunable/max_map_count.c b/testcases/kernel/mem/tunable/max_map_count.c
> index eb7486f..ca322da 100644
> --- a/testcases/kernel/mem/tunable/max_map_count.c
> +++ b/testcases/kernel/mem/tunable/max_map_count.c
> @@ -139,7 +139,7 @@ static bool filter_map(const char *line)
> return true;
> #elif defined(__arm__)
> /* Skip it when run it in aarch64 */
> - if (strcmp(un.machine, "aarch64"))
> + if ((!strcmp(un.machine, "aarch64")) || (!strcmp(un.machine, "aarch64_be")))
> return false;
>
> /* Older arm kernels didn't label their vdso maps */
>
More information about the ltp
mailing list