From: Mark V. <mv...@ya...> - 2005-12-09 22:20:42
Attachments:
sendmsg01_zSeries_patch.txt
|
sendmsg01 gets the following failure on zSeries 64-bit: sendmsg01 13 FAIL : invalid flags set w/ control ; returned -1 (expected -1), errno 22 (expected 95) sendmsg01 14 FAIL : invalid flags set ; returned -1 (expected 0), errno 22 (expected 95) Adding the "s390x" architecture to the list for setting MSG_CMSG_COMPAT 0x80000000 seems to fix the problem. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robert W. <ro...@us...> - 2005-12-23 17:42:39
Attachments:
pic26879.jpg
|
Applied patch to CVS tree for Jan. release...thanks! -Robbie (Embedded image moved to file: pic26879.jpg) Mark Ver <mv...@ya...> Sent by: To ltp-list-admin@li ltp...@li... sts.sourceforge.n cc et Subject [LTP] sendmsg01 12/09/2005 04:20 PM sendmsg01 gets the following failure on zSeries 64-bit: sendmsg01 13 FAIL : invalid flags set w/ control ; returned -1 (expected -1), errno 22 (expected 95) sendmsg01 14 FAIL : invalid flags set ; returned -1 (expected 0), errno 22 (expected 95) Adding the "s390x" architecture to the list for setting MSG_CMSG_COMPAT 0x80000000 seems to fix the problem. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- ltp-full-20051103/testcases/kernel/syscalls/sendmsg/sendmsg01.c 2005-12-09 16:43:47.197272000 -0500 +++ ltp-full-20051205/testcases/kernel/syscalls/sendmsg/sendmsg01.c 2005-12-09 16:45:51.837272000 -0500 @@ -48,7 +48,7 @@ /* and this test to function correctly. */ #ifndef MSG_CMSG_COMPAT -#if defined (__powerpc64__) || defined (__x86_64__) || defined (__sparc64__) || defined (__ia64__) +#if defined (__powerpc64__) || defined (__x86_64__) || defined (__sparc64__) || defined (__ia64__) || defined (__s390x__) #define MSG_CMSG_COMPAT 0x80000000 #else #define MSG_CMSG_COMPAT 0 |