Re: [LTP] [PATCH] Fixed syslog for use in Debian

2009-01-21 Thread Jiri Palecek
On Wednesday 21 January 2009 06:15:16 CAI Qian wrote: Hi, --- On Wed, 1/21/09, Jiri Palecek jpale...@web.de wrote: From: Jiri Palecek jpale...@web.de Subject: Re: Re: [LTP] [PATCH] Fixed syslog for use in Debian To: caiq...@cclom.cn Cc: ltp-l...@lists.sf.net Date: Wednesday, January

[LTP] [Patch 3/3] Used named PIPE in test cases for NOMMU arch instead of anonymous PIPE

2009-01-21 Thread sonic zhang
Forget one more patch. In NOMMU arch, anonymous PIPE can't be accessed in child process if it is started by vfork/execve. This patch changes related test cases accordingly. Signed-off-by: Sonic Zhang sonic@gmail.com --- testcases/kernel/syscalls/ipc/semctl/semctl01.c Index:

Re: [LTP] [PATCH] Fixed syslog for use in Debian

2009-01-21 Thread CAI Qian
Hi, --- On Wed, 1/21/09, Jiri Palecek jpale...@web.de wrote: From: Jiri Palecek jpale...@web.de Subject: Re: [LTP] [PATCH] Fixed syslog for use in Debian To: caiq...@cclom.cn Cc: ltp-l...@lists.sf.net Date: Wednesday, January 21, 2009, 6:10 PM On Wednesday 21 January 2009 06:15:16 CAI

[LTP] [ANNOUNCE] LTP Intermediate Release for JANUARY 2009

2009-01-21 Thread Subrata Modak
Hi, LTP Intermediate release for JANĀ“09 (ltp-intermediate-20090121.tgz) is through. You can pick your copy directly from: http://ltp.sourceforge.net/ home page. LTP build/install process has undergone changes. Please see ltp/INSTALL file for more details. Happy Testing-- Subrata

[LTP] [RFC] [Linux-2.6.28 merges] Hugepage Core Dump Support testing

2009-01-21 Thread Subrata Modak
Hi KOSAKI-san, You have added the Hugepages Core Dump support for the 2.6.28 Linux kernel. And the git log shows: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e575f111dc0f27044e170580e7de50985ab3e011,

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

2009-01-21 Thread Jiri Palecek
Hello, this is the first from the series of minor patches to syslog tests. Parts inspired by CAI Qian's remarks. - Check for existence of the backup file before moving it back - Do not restart syslog daemon, if syslog command was not found Signed-off-by: Jiri Palecek jpale...@web.de ---

[LTP] [PATCH 3/6] Fix paths for detecting syslog daemons

2009-01-21 Thread Jiri Palecek
Allow /usr/sbin/syslog-ng as path to syslog-ng, because this is the path used in Debian syslog-ng packages Also, detect /sbin/rsyslogd as rsyslog, which is its location on Fedora Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog01 |4 ++--

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

2009-01-21 Thread Jiri Palecek
Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog09 |4 ++-- testcases/kernel/syscalls/syslog/syslog10 |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testcases/kernel/syscalls/syslog/syslog09

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

2009-01-21 Thread Jiri Palecek
Hello, this is the first from the series of minor patches to syslog tests. Parts inspired by CAI Qian's remarks. Resend due to line-wrapping problems. - Check for existence of the backup file before moving it back - Do not restart syslog daemon, if syslog command was not found

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

2009-01-21 Thread Jiri Palecek
Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog09 |4 ++-- testcases/kernel/syscalls/syslog/syslog10 |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testcases/kernel/syscalls/syslog/syslog09

[LTP] [PATCH 3/6] [RESEND] Fix paths for detecting syslog daemons

2009-01-21 Thread Jiri Palecek
Allow /usr/sbin/syslog-ng as path to syslog-ng, because this is the path used in Debian syslog-ng packages Also, detect /sbin/rsyslogd as rsyslog, which is its location on Fedora Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog01 |4 ++--

[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-21 Thread Jiri Palecek
Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog01 |2 +- testcases/kernel/syscalls/syslog/syslog02 |2 +- testcases/kernel/syscalls/syslog/syslog05 |2 +- testcases/kernel/syscalls/syslog/syslog09 |2 +- 4 files changed, 4 insertions(+), 4

[LTP] [PATCH 5/6] Add support for rsyslog in not-syslog-compatible mode

2009-01-21 Thread Jiri Palecek
This adds the configuration directive $ModLoad imuxsock.so to the beginning of the syslog configuration file when using rsyslog. Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog01 |6 -- testcases/kernel/syscalls/syslog/syslog02 |4 +++-

[LTP] [PATCH 6/6] Change the message and return value used to report missing supported syslog daemon

2009-01-21 Thread Jiri Palecek
- note rsyslog in the message - use TCONF to report unsuitable configuration - return 0, which corresponds to other tests failing on TCONF Signed-off-by: Jiri Palecek jpale...@web.de --- testcases/kernel/syscalls/syslog/syslog01 |4 ++-- testcases/kernel/syscalls/syslog/syslog02 |4

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

2009-01-21 Thread CAI Qian
Hi, --- On Mon, 1/19/09, Jiri Palecek ji...@debian. wrote: From: Jiri Palecek ji...@debian. Subject: [LTP] [PATCH 1/6] [RESEND] Do not cleanup if it doesn't make sense To: Date: Monday, January 19, 2009, 8:43 AM Hello, this is the first from the series of minor patches to syslog

Re: [LTP] [Patch 2/2] Used named PIPE in test case s for NOMMU arch instead of anonymous PIPE

2009-01-21 Thread Mike Frysinger
On Wednesday 21 January 2009 03:57:07 sonic zhang wrote: In NOMMU arch, anonymous PIPE can't be accessed in child process if it is started by vfork/execve. This patch changes related test cases accordingly. your changes break the normal case (compile failure). please test both target no-mmu

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

2009-01-21 Thread Mike Frysinger
On Wednesday 21 January 2009 03:57:05 sonic zhang wrote: +void generate_fifo_name(char *name) { - return pipe (fd); + char *p; + + strcpy(fifo_name, /tmp/ltp_fifo_); hardcoding paths is bad ... we already have a function to get a tmpdir i thought + + p = rindex(name,

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

2009-01-21 Thread Jiri Palecek
On Wednesday 21 January 2009 16:48:30 CAI Qian wrote: Hi, --- On Mon, 1/19/09, Jiri Palecek ji...@debian. wrote: From: Jiri Palecek ji...@debian. Subject: [LTP] [PATCH 1/6] [RESEND] Do not cleanup if it doesn't make sense To: Date: Monday, January 19, 2009, 8:43 AM Hello, this

[LTP] proc01 failures with selinux disabled

2009-01-21 Thread Kamalesh Babulal
Hi Subrata, When running the testcases/kernel/fs/proc/proc01 testcase, the /proc/self/*/attr/* read fails, if the selinux is not enabled. The function cap_getprocattr() is called when selinux is disabled, while reading the /proc/self/*/attr/* files and it returns -EINVAL, whereas if the

Re: [LTP] hugeshmget03.c Didn't get ENOSPC in test setup

2009-01-21 Thread Mark130
Hi Subrata, Will this fix for all the hugetlb* tests be included in the next release of the LTP Suite? Thanks for your Help Subrata Modak wrote: A fix for all the hugetlb* tests are on the way, on similar lines as based on the fix being proposed by Vinay for msgctl11.c

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

2009-01-21 Thread sonic zhang
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. Signed-off-by: Sonic Zhang sonic@gmail.com ---

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

2009-01-21 Thread sonic zhang
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 sonic@gmail.com --- testcases/kernel/syscalls/execve/execve05.c

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

2009-01-21 Thread Matt Helsley
On Tue, 2009-01-20 at 20:06 -0800, Garrett Cooper wrote: On Jan 20, 2009, at 15:34, Matt Helsley matth...@us.ibm.com wrote: The dependency description in testcases/network/lib6/Makefile breaks parallel builds: make autoconf ./configure make -j4 all ...

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

2009-01-21 Thread CAI Qian
Hi, --- On Thu, 1/22/09, Jiri Palecek jpale...@web.de wrote: From: Jiri Palecek jpale...@web.de Subject: Re: [LTP] [PATCH 1/6] [RESEND] Do not cleanup if it doesn't make sense To: caiq...@cclom.cn Cc: ltp-l...@lists.sf.net Date: Thursday, January 22, 2009, 1:15 AM On Wednesday 21

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

2009-01-21 Thread Matt Helsley
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 runcc.c cc -I../../../include -g -D_GNU_SOURCE

Re: [LTP] proc01 failures with selinux disabled

2009-01-21 Thread CAI Qian
Hi, --- On Thu, 1/22/09, Kamalesh Babulal kamal...@linux.vnet.ibm.com wrote: From: Kamalesh Babulal kamal...@linux.vnet.ibm.com Subject: [LTP] proc01 failures with selinux disabled To: ltp-l...@lists.sf.net Cc: aar...@linux.vnet.ibm.com Date: Thursday, January 22, 2009, 1:25 AM Hi