* [LTP] [PATCH] asapi_07: fix data types
@ 2013-12-05 2:11 Simon Xu
2013-12-05 3:56 ` Wanlong Gao
0 siblings, 1 reply; 2+ messages in thread
From: Simon Xu @ 2013-12-05 2:11 UTC (permalink / raw)
To: ltp-list
The test always fails because some data types are wrong.
Signed-off-by: Simon Xu <xu.simon@oracle.com>
---
testcases/network/lib6/asapi_07.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testcases/network/lib6/asapi_07.c b/testcases/network/lib6/asapi_07.c
index 2968cc8..f401725 100644
--- a/testcases/network/lib6/asapi_07.c
+++ b/testcases/network/lib6/asapi_07.c
@@ -104,19 +104,19 @@ struct etent {
"sizeof(struct iovec *)"}}, {
"msghdr msg_iovlen", EXISTS, SOCKET_H, "msghdr",
"msg_iovlen", NULL, {
- "sizeof(struct iovec *)"}}, {
+ "sizeof(size_t)"}}, {
"msghdr msg_control", EXISTS, SOCKET_H, "msghdr",
"msg_control", NULL, {
"sizeof(void *)"}}, {
"msghdr msg_controllen", EXISTS, SOCKET_H, "msghdr",
"msg_controllen", NULL, {
- "sizeof(socklen_t)"}}, {
+ "sizeof(size_t)"}}, {
"msghdr msg_flags", EXISTS, SOCKET_H, "msghdr",
"msg_flags", NULL, {
"sizeof(int)"}}, {
"cmsghdr cmsg_len", EXISTS, SOCKET_H, "cmsghdr",
"cmsg_len", NULL, {
- "sizeof(socklen_t)"}}, {
+ "sizeof(size_t)"}}, {
"cmsghdr cmsg_level", EXISTS, SOCKET_H, "cmsghdr",
"cmsg_level", NULL, {
"sizeof(int)"}}, {
--
1.8.4.2
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH] asapi_07: fix data types
2013-12-05 2:11 [LTP] [PATCH] asapi_07: fix data types Simon Xu
@ 2013-12-05 3:56 ` Wanlong Gao
0 siblings, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2013-12-05 3:56 UTC (permalink / raw)
To: Simon Xu, ltp-list
On 12/05/2013 10:11 AM, Simon Xu wrote:
> The test always fails because some data types are wrong.
>
> Signed-off-by: Simon Xu <xu.simon@oracle.com>
> ---
> testcases/network/lib6/asapi_07.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thank you.
Wanlong Gao
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-05 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 2:11 [LTP] [PATCH] asapi_07: fix data types Simon Xu
2013-12-05 3:56 ` Wanlong Gao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox