* [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64
@ 2016-12-17 4:30 the_hoang0709
2017-01-11 9:48 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: the_hoang0709 @ 2016-12-17 4:30 UTC (permalink / raw)
To: ltp
From: Vertigo <the_hoang0709@yahoo.com>
Fix mistake in strcmp() for skipping in aarch64.
And there is the same error in aarch64be, so add it.
Signed-off-by: Vertigo <the_hoang0709@yahoo.com>
---
testcases/kernel/mem/tunable/max_map_count.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testcases/kernel/mem/tunable/max_map_count.c b/testcases/kernel/mem/tunable/max_map_count.c
index eb7486f..75a5098 100644
--- a/testcases/kernel/mem/tunable/max_map_count.c
+++ b/testcases/kernel/mem/tunable/max_map_count.c
@@ -139,7 +139,8 @@ 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 */
--
2.10.1.windows.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64
2016-12-17 4:30 [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64 the_hoang0709
@ 2017-01-11 9:48 ` Cyril Hrubis
2017-01-11 14:10 ` Hoang Nguyen
0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2017-01-11 9:48 UTC (permalink / raw)
To: ltp
Hi!
Pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64
2017-01-11 9:48 ` Cyril Hrubis
@ 2017-01-11 14:10 ` Hoang Nguyen
0 siblings, 0 replies; 3+ messages in thread
From: Hoang Nguyen @ 2017-01-11 14:10 UTC (permalink / raw)
To: ltp
Hi Cyril,
Sorry for my late response. I rarely check mails recent days.Thanks a lot for your help.
Best regards,
Hoang
From: Cyril Hrubis <chrubis@suse.cz>
To: the_hoang0709@yahoo.com
Cc: ltp@lists.linux.it
Sent: Wednesday, 11 January 2017, 16:48
Subject: Re: [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64
Hi!
Pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170111/2d40ad59/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-11 14:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-17 4:30 [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64 the_hoang0709
2017-01-11 9:48 ` Cyril Hrubis
2017-01-11 14:10 ` Hoang Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox