Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Mike Frysinger
On Thursday 15 January 2009 02:17:27 Seiichi Ikarashi wrote: +#ifdef __ia64__ +   ret = clone2(fn1, childstack, getpagesize(), clone_flags, arg1, NULL, NULL, NULL); +#else +   ret = clone(fn1, childstack, clone_flags, arg1); +#endif look at the clone testcases under kernel syscalls

[LTP] [PATCH] sched_cli_serv: fopen: No such file or directory

2009-01-15 Thread CAI Qian
Hi, This patch fixes the following error when running sched_cli_serv test case via runltp by making the path of the data file as a runtime option and giving an absolute path of it. # ./runltp -p -d /tmp -l /tmp/1.log -o /tmp/2.log -f sched # cat 2.log ... test_start tag=sched_cli_serv

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Seiichi Ikarashi
Mike Frysinger さんは書きました: On Thursday 15 January 2009 02:17:27 Seiichi Ikarashi wrote: +#ifdef __ia64__ + ret = clone2(fn1, childstack, getpagesize(), clone_flags, arg1, NULL, NULL, NULL); +#else + ret = clone(fn1, childstack, clone_flags, arg1); +#endif look at the clone

Re: [LTP] [PATCH] update kernel/device-drivers/nls test for 2.6.25

2009-01-15 Thread Subrata Modak
On Wed, 2009-01-14 at 08:14 +0100, Németh Márton wrote: Hi, Subrata Modak wrote: On Sat, 2009-01-10 at 14:31 +0100, Németh Márton wrote: Hi, the attached patch makes the ltp/testcases/kernel/device-drivers/nls testsuite compileable under Linux kernel 2.6.25. Currently the

Re: [LTP] [PATCH] Prevent false negatives in cron_pos_tests caused by returning exit value of wrong command

2009-01-15 Thread Subrata Modak
Not sure why your patches pop up very late. The below was delivered to my mailbox(at IBM gmail) today only. Anyways, thanks. This has been applied. Regards-- Subrata On Mon, 2008-12-29 at 14:32 +0100, Jiri Palecek wrote: Hello, this patch fixes erroneous failure caused by returning return

[LTP] [PATCH] fcntl27 and fcntl28: failed with errno 11

2009-01-15 Thread CAI Qian
Hi, This patch fixes fcntl27 and fcntl28 test cases failures seen on RHEL 4 kernel (2.6.9 based). # ./fcntl27 fcntl27 1 FAIL : fcntl(tfile_1206, F_SETLEASE, F_RDLCK) failed with errno 11 : Resource temporarily unavailable # ./fcntl28 fcntl28 1 FAIL : fcntl(tfile_1213, F_SETLEASE,

Re: [LTP] [resend] Introduce autoconf to eventfd test case

2009-01-15 Thread Subrata Modak
’ /tmp/cc2rMu8w.o: In function `trigger_eventfd_overflow': /home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/DECEMBER_2008_RELEASE/ltp-intermediate-20090115/testcases/kernel/syscalls/eventfd/eventfd01.c:578: undefined reference to `io_set_eventfd' collect2: ld returned 1 exit status make[4

Re: [LTP] [PATCH] sched_cli_serv: fopen: No such file or directory

2009-01-15 Thread Subrata Modak
On Thu, 2009-01-15 at 00:31 -0800, CAI Qian wrote: Hi, This patch fixes the following error when running sched_cli_serv test case via runltp by making the path of the data file as a runtime option and giving an absolute path of it. # ./runltp -p -d /tmp -l /tmp/1.log -o /tmp/2.log -f

Re: [LTP] [PATCH] Fix broken symlink to tst_unzip_file.zip

2009-01-15 Thread Subrata Modak
Hi, On Thu, 2009-01-15 at 12:35 +0900, Seiichi Ikarashi wrote: --- b/testcases/commands/unzip/Makefile 2008-12-12 23:02:42.0 +0900 +++ a/testcases/commands/unzip/Makefile 2009-01-14 09:04:02.0 +0900 @@ -4,7 +4,7 @@ all: install: ln -f unzip_tests.sh

Re: [LTP] [PATCH] Fix ps -p failures in ltpstress.sh

2009-01-15 Thread Subrata Modak
Hi Le, On Thu, 2009-01-15 at 12:13 +0900, Seiichi Ikarashi wrote: Hi, I encountered a failure on running ltpstress.sh. # cd ltp-full-20081231/testscripts # ./ltpstress.sh : ERROR: List of process IDs must follow -p. * simple selection * * selection by list

Re: [LTP] Fix for msgctl11.c

2009-01-15 Thread Subrata Modak
On Tue, 2009-01-13 at 16:13 +0530, Vinay Sridhar wrote: Hello, Resending the fix after modifications based on suggestions from Mike Frysinger. PS: I've retained SHRT_MAX return value in the patch below as per the reason stated earlier. Signed-off by: Vinay Sridhar

Re: [LTP] [PATCH] Fix ps -p failures in ltpstress.sh

2009-01-15 Thread Subrata Modak
Hi, Looks Seiichi is right and his patches have to be applied. He talked 2 different solutions. Which one is the best one ? Regards-- Subrata Best Regards -- This SF.net email is sponsored by: SourcForge

Re: [LTP] [PATCH] Fix ps -p failures in ltpstress.sh

2009-01-15 Thread Le Rouzic
Hi, I would take this one using ps -e and not rpcinfo -p because the first idea was not using rpcinfo to be independant of a possible bug in rpcinfo which is tested in other place. Best Regards Subrata Modak a écrit : Hi, Looks Seiichi is right and his patches have to be applied.

Re: [LTP] [PATCH] Fix ps -p failures in ltpstress.sh

2009-01-15 Thread Subrata Modak
On Thu, 2009-01-15 at 13:28 +0100, Le Rouzic wrote: Hi, I would take this one using ps -e and not rpcinfo -p because the first idea was not using rpcinfo to be independant of a possible bug in rpcinfo which is tested in other place. Thanks. Regards-- Subrata Best Regards

Re: [LTP] [PATCH] Fix ps -p failures in ltpstress.sh

2009-01-15 Thread Subrata Modak
Thanks. As per Le´s comment i chose the 2nd one. Regards-- Subrata On Thu, 2009-01-15 at 12:13 +0900, Seiichi Ikarashi wrote: Hi, I encountered a failure on running ltpstress.sh. # cd ltp-full-20081231/testscripts # ./ltpstress.sh : ERROR: List of process IDs must follow -p.

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Mike Frysinger
On Thursday 15 January 2009 04:04:22 Seiichi Ikarashi wrote: Mike Frysinger さんは書きました: On Thursday 15 January 2009 02:17:27 Seiichi Ikarashi wrote: +#ifdef __ia64__ + ret = clone2(fn1, childstack, getpagesize(), clone_flags, arg1, NULL, NULL, NULL); +#else + ret = clone(fn1,

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Serge E. Hallyn
Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Mike Frysinger さんは書きました: On Thursday 15 January 2009 02:17:27 Seiichi Ikarashi wrote: +#ifdef __ia64__ + ret = clone2(fn1, childstack, getpagesize(), clone_flags, arg1, NULL, NULL, NULL); +#else + ret = clone(fn1,

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

2009-01-15 Thread Serge E. Hallyn
Quoting Veerendra (vee...@linux.vnet.ibm.com): Hi Submitting a new testcase on semaphore to test the IPCNS in the containers. This patch contains the batch file to run the test on LTP. In this patch , I am checking the IPCNS functionaity: Semaphore in parent NS is isolated from the

Re: [LTP] [patch] docuemtn for macro usage in Makefile (Was: tcore.c fails to build on ppc64)

2009-01-15 Thread Mike Frysinger
On Thursday 15 January 2009 01:56:47 Masatake YAMATO wrote: --- a/Makefile +++ b/Makefile not sure we want to encourage documentation-in-the-build-system. could you add this stuff to INSTALL instead ? when people think how do i build this package, i'd think they'd (or at least they should)

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Seiichi Ikarashi
Serge E. Hallyn wrote: Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Like this? Cool, thanks, and thanks for fixing up the do_clone_tests(). However, you pass the bottom instead of the top of the stack to clone. See the use of 'childstack' in the original do_clone_tests(). I just

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Serge E. Hallyn
Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Serge E. Hallyn wrote: Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Like this? Cool, thanks, and thanks for fixing up the do_clone_tests(). However, you pass the bottom instead of the top of the stack to clone. See the

Re: [LTP] [revised] Introduce autoconf to eventfd test case

2009-01-15 Thread Masatake YAMATO
Subrata, Thank you for sending the files. I found my mistake in m4/ltp-eventfd.m4. To use AC_TRY_LINI, 'main' function is not needed. Here is the revised patch: Signed-off-by: Masatake YAMATO yam...@redhat.com diff --git a/config.mk.in b/config.mk.in new file mode 100644 index

[LTP] [PATCH] add tc parameter for block testsuite

2009-01-15 Thread Németh Márton
Add tc paramter for block testsuite which enables the testsuite to run test cases separately. The default value of tc is 0 which preserves the original behaviour and runs all the available test cases. A user space shell script run.sh is also added which helps to run the test cases in kernel

[LTP] [PATCH] sched_cli_serv: client: connect failure, no = 111

2009-01-15 Thread CAI Qian
Hi, Sometimes, sched_cli_serv test case can still fail due to, client: connect failure, no = 111 This is because when the system is under load, the client may connect before the server is ready. This patch fixes it by letting the server run for 10 seconds first. Signed-off-by: CAI Qian

[LTP] [PATCH] sched_cli_serv: client: connect failure, no = 111 v2

2009-01-15 Thread CAI Qian
Hi, Sometimes, sched_cli_serv test case can still fail due to, client: connect failure, no = 111 This is because when the system is under load, the client may connect before the server is ready. This patch fixes it by letting the server run for 10 seconds first. It also disable shell command

Re: [LTP] [PATCH] sched_cli_serv: client: connect failure, no = 111 v2

2009-01-15 Thread Garrett Cooper
On Thu, Jan 15, 2009 at 11:25 PM, CAI Qian caiq...@cclom.cn wrote: Hi, Sometimes, sched_cli_serv test case can still fail due to, client: connect failure, no = 111 This is because when the system is under load, the client may connect before the server is ready. This patch fixes it by