Re: [LTP] [PATCH 2/6] [RESEND] Use TFAIL/TPASS in some syslog tests

2009-01-22 Thread Subrata Modak
On Wed, 2008-12-03 at 14:33 +0100, Jiri Palecek wrote: Signed-off-by: Jiri Palecek jpale...@web.de Thanks. Merged. Regards-- Subrata --- testcases/kernel/syscalls/syslog/syslog09 |4 ++-- testcases/kernel/syscalls/syslog/syslog10 |4 ++-- 2 files changed, 4 insertions(+), 4

Re: [LTP] [PATCH 4/6] Don't check for existence of the log file before the test with syslog-ng, because it might not exist and still work correctly

2009-01-22 Thread Subrata Modak
On Mon, 2008-12-22 at 16:04 +0100, Jiri Palecek wrote: Signed-off-by: Jiri Palecek jpale...@web.de Merged. Regards-- Subrata --- testcases/kernel/syscalls/syslog/syslog01 |2 +- testcases/kernel/syscalls/syslog/syslog02 |2 +- testcases/kernel/syscalls/syslog/syslog05 |2 +-

Re: [LTP] [PATCH 1/6] [RESEND] Do not cleanup if it doesn't make sense

2009-01-22 Thread Subrata Modak
so it is not a surprise that open() returned -1. Yes, that code is a gem :-) Does it work with the attached patch? It works apart from something untidy. # make cc -I../../../../include -Wallsyslogtst.c -L../../../../lib -lltp -o syslogtst syslogtst.c: In function

Re: [LTP] [PATCH] Fix parallel build problem in testcases/network/lib6/Makefile

2009-01-22 Thread Subrata Modak
On Wed, 2009-01-21 at 21:13 -0800, Matt Helsley wrote: The dependency description in testcases/network/lib6/Makefile breaks parallel builds: make autoconf ./configure make -j4 all ... cc -I../../../include -g -D_GNU_SOURCE -c -o runcc.o

Re: [LTP] [Patch 1/2] Used named PIPE in test cases for NOMMU arch instead of anonymous -- v2

2009-01-22 Thread Subrata Modak
On Thu, 2009-01-22 at 11:09 +0800, sonic zhang wrote: Send again. In NOMMU arch, anonymous PIPE can't be accessed in child process if it is started by vfork/execve. This patch use named PIPE instead. The API sync_pipe_create() and sync_pipe_close() are changed to accept PIPE name.

Re: [LTP] [Patch 2/2] Used named PIPE in test cases for NOMMU arch instead of anonymous -- v2

2009-01-22 Thread Subrata Modak
On Thu, 2009-01-22 at 11:09 +0800, sonic zhang wrote: Send again. In NOMMU arch, anonymous PIPE can't be accessed in child process if it is started by vfork/execve. This patch uses named PIPE instead and changes related test cases accordingly. Signed-off-by: Sonic Zhang

Re: [LTP] [patch] vcontainer testcase on IPC NS - semaphore.patch

2009-01-22 Thread Subrata Modak
On Wed, 2009-01-21 at 19:30 +0530, Veerendra wrote: Subrata Modak wrote: Still fails on the latest LTP CVS: patching file testcases/kernel/containers/sysvipc/sem_nstest.c patching file testcases/kernel/containers/sysvipc/runipcnstest.sh Hunk #1 FAILED at 40. 1 out of 1 hunk FAILED --

Re: [LTP] proc01 failures with selinux disabled

2009-01-22 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): Hi, --- On Thu, 1/22/09, Subrata Modak subr...@linux.vnet.ibm.com wrote: This approach will skip the failures that those entries return EINVAL while SELinux is enable. You can check if SELinux is enable or not, and then add then to something

Re: [LTP] proc01 failures with selinux disabled

2009-01-22 Thread CAI Qian
Hi, --- On Fri, 1/23/09, Serge E. Hallyn se...@us.ibm.com wrote: From: Serge E. Hallyn se...@us.ibm.com Subject: Re: [LTP] proc01 failures with selinux disabled To: CAI Qian caiq...@cclom.cn Cc: ltp-l...@lists.sf.net Date: Friday, January 23, 2009, 12:00 AM Quoting CAI Qian

[LTP] [PATCH] proc01: /proc/ppc64/rtas/error_log: read: Invalid argument

2009-01-22 Thread CAI Qian
Hi, This patch adds /proc/ppc64/rtas/error_log to the known failure list according to a Red Hat kernel developer, In kernel's rtas_log_read() the first check is: ... if (!buf || count rtas_error_log_buffer_max) return -EINVAL; ... This code tries to avoid to be

[LTP] -laio not found

2009-01-22 Thread Randy Dunlap
I'm not using autoconf, just using: If you want to use default configuration, autoconf is not needed. Just run: $ touch include/config.h.default $ make config.h $ make all I'm getting this build error: make[4]: Entering directory

Re: [LTP] -laio not found

2009-01-22 Thread Mike Gahagan
Randy Dunlap wrote: I'm not using autoconf, just using: If you want to use default configuration, autoconf is not needed. Just run: $ touch include/config.h.default $ make config.h $ make all I'm getting this build error:

Re: [LTP] -laio not found

2009-01-22 Thread Randy Dunlap
Nate Straz wrote: On Jan 22 11:39, Randy Dunlap wrote: cc -o doio doio.o -I. -Wall -Wall -I../../../../include -D_LARGEFILE64_SOURCE -L../../../../lib -lltp -laio -lrt /usr/bin/ld: cannot find -laio collect2: ld returned 1 exit status make[4]: *** [doio] Error 1 Install libaio-devel.

Re: [LTP] -laio not found

2009-01-22 Thread Nate Straz
On Jan 22 11:39, Randy Dunlap wrote: cc -o doio doio.o -I. -Wall -Wall -I../../../../include -D_LARGEFILE64_SOURCE -L../../../../lib -lltp -laio -lrt /usr/bin/ld: cannot find -laio collect2: ld returned 1 exit status make[4]: *** [doio] Error 1 Install libaio-devel. Nate

[LTP] [PATCH 00/14] Broken Issues Fixes for LTP Hugetlb test cases

2009-01-22 Thread Subrata Modak
On Thu, 2009-01-22 at 15:56 +0530, Subrata Modak wrote: On Wed, 2009-01-21 at 10:36 -0800, Mark130 wrote: Hi Subrata, Will this fix for all the hugetlb* tests be included in the next release of the LTP Suite? I thought i will be writing it. Let me see if i can push it through this

[LTP] [PATCH 03/14] Fix Hugepages Allocate Hugepages only if available to Hugepageshmget01

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget01.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget01.c ---

[LTP] [PATCH 01/14] Fix Hugepages Add declaration for new functions

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/include/system_specific_hugepages_info.h ltp-intermediate-20090121/include/system_specific_hugepages_info.h --- ltp-intermediate-20090121.orig/include/system_specific_hugepages_info.h 1970-01-01

[LTP] [PATCH 05/14] Fix Hugepages Allocate Hugepages only if available to Hugepageshmget03 remaining fixes

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget03.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget03.c ---

[LTP] [PATCH 08/14] Fix Hugepages Allocate Hugepages only if available to Hugeshmat01

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat01.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat01.c ---

[LTP] [PATCH 09/14] Fix Hugepages Allocate Hugepages only if available to Hugeshmat02

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat02.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat02.c ---

[LTP] [PATCH 11/14] Fix Hugepages Allocate Hugepages only if available to Hugeshmctl01

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl01.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl01.c ---

[LTP] [PATCH 13/14] Fix Hugepages Allocate Hugepages only if available to Hugeshmctl03

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl03.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl03.c ---

[LTP] [PATCH 14/14] Fix Hugepages Allocate Hugepages only if available to Hugeshmdt01

2009-01-22 Thread Subrata Modak
Signed-Off-By: Subrata Modaksubr...@linux.vnet.ibm.com, -- diff -uprN ltp-intermediate-20090121.orig/testcases/kernel/mem/hugetlb/hugeshmdt/hugeshmdt01.c ltp-intermediate-20090121/testcases/kernel/mem/hugetlb/hugeshmdt/hugeshmdt01.c ---

Re: [LTP] proc01 failures with selinux disabled

2009-01-22 Thread Kamalesh Babulal
* CAI Qian caiq...@cclom.cn [2009-01-22 09:17:02]: Hi, --- On Fri, 1/23/09, Serge E. Hallyn se...@us.ibm.com wrote: From: Serge E. Hallyn se...@us.ibm.com Subject: Re: [LTP] proc01 failures with selinux disabled To: CAI Qian caiq...@cclom.cn Cc: ltp-l...@lists.sf.net Date: