Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread Brandon Philips
On 21:13 Fri 07 Aug 2009, naresh kamboju wrote: > ltp-fix-mq_send_5-1.patch FYI, this attached patch uses Windows ^M line endings. Cheers, Brandon -- Let Crystal Reports handle the reporting - Free Crystal Repor

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread Brandon Philips
On 13:29 Fri 07 Aug 2009, naresh kamboju wrote: > I have noticed issues for patch applied on 12-Dec-2008. > Because it is fixing the mq_send/5-1.c problem, but at the same time > patch is affecting the building of few test cases in the same > directory. > I have listed the build log before and afte

Re: [LTP] [PATCH 06/13] Add/Port ppoll01 test for ppoll() syscall

2009-08-07 Thread Henry Yei
I see the same problem as Michal on x86 and ppc32(85xx) on kernel 2.6.28/2.6.27 respectively. -Original Message- From: Subrata Modak [mailto:subr...@linux.vnet.ibm.com] Sent: Friday, August 07, 2009 5:41 AM To: michal.si...@petalogix.com Cc: LTP List; Manas Kumar Nayak Subject: Re: [LTP

Re: [LTP] [PATCH 1/1] openposix_mmap_11_4

2009-08-07 Thread naresh kamboju
Hi Fan, please give your comments on this issue. It is glibc and kernel issue discussions. http://bugs.gentoo.org/197191 Is this info is up to the date? http://www.opengroup.org/onlinepubs/009695399/functions/mmap.html I did not find mmap (3) in kernel man pages. http://www.kernel.org/doc/m

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread naresh kamboju
Hi, On Fri, Aug 7, 2009 at 6:12 PM, Subrata Modak wrote: > Hi, > > On Fri, 2009-08-07 at 13:29 +0530, naresh kamboju wrote: >> Hi Brandon Philips, >> >> On Tue, Jul 21, 2009 at 6:52 PM, naresh kamboju >> wrote: >> > On Tue, Jul 21, 2009 at 10:15 AM, Brandon Philips wrote: >> >> On 12:35 Tue 30 Ju

[LTP] add_key01 & add_key02 test cases fails and shown as PASS in log file

2009-08-07 Thread srikanth krishnakar
I see these two test cases are failing on PowerPC target (ppc440) as shown in output file, but they are listed as PASS in log file of the LTP : Target : PowerPC (ppc440) Kernel: Linux-2.6.29 LTP Version : ltp-full-20090731 LTP output file : # 1. add_key01 <<>>

Re: [LTP] [PATCH] Fix calculated syscall numbers for hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64}

2009-08-07 Thread Geert Uytterhoeven
On Fri, 7 Aug 2009, Subrata Modak wrote: > On Fri, 2009-08-07 at 10:49 +0200, Geert Uytterhoeven wrote: > > Commit "move leading __NR_ to script to make all the .in files simpler" > > accidentally removed all plus signs surrounded by spaces from the syscall > > definition files for hppa/powerpc{,6

Re: [LTP] RANLIB not set?

2009-08-07 Thread Kumar Gala
On Aug 6, 2009, at 12:17 PM, Garrett Cooper wrote: > On Thu, Aug 6, 2009 at 9:18 AM, Kumar > Gala wrote: >> I'm seeing this on fedora 11 on ppc64: >> >> make[3]: Leaving directory `/root/ltp/testcases/network/ipv6' >> make[3]: Entering directory `/root/ltp/testcases/network/lib6' >> cc -Wall -

Re: [LTP] [FIX PATCHE]ltp-sched_setparam_26-1.c

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 15:16 +0530, naresh kamboju wrote: > Hi, > > I have noticed UNTESTED behavior with sched_setparam/26-1.c test case > under open_posix_testsuite. > > Test needs to be executed as non-root user. > So I have changed user id from root to non-root user by adding > set_nonroot()

Re: [LTP] CPU Accounting Controller test case for LTP.

2009-08-07 Thread Subrata Modak
Hi Raj, Including few more people for review. My few nitpicks below. On Fri, 2009-08-07 at 16:49 +0530, Rajasekhar Duddu wrote: > Hi, I have developed a testcase for CPU Accounting Controller which is > used to group tasks using cgroups and account the CPU usage of these groups > of tasks. > >

Re: [LTP] [PATCH] Fix calculated syscall numbers for hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64}

2009-08-07 Thread Subrata Modak
On Fri, 2009-08-07 at 10:49 +0200, Geert Uytterhoeven wrote: > Commit "move leading __NR_ to script to make all the .in files simpler" > accidentally removed all plus signs surrounded by spaces from the syscall > definition files for hppa/powerpc{,64}/s390{,x}/sh/sparc{,64}, breaking the > build l

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread Subrata Modak
Hi, On Fri, 2009-08-07 at 13:29 +0530, naresh kamboju wrote: > Hi Brandon Philips, > > On Tue, Jul 21, 2009 at 6:52 PM, naresh kamboju > wrote: > > On Tue, Jul 21, 2009 at 10:15 AM, Brandon Philips wrote: > >> On 12:35 Tue 30 Jun 2009, naresh kamboju wrote: > >>> I have noticed some issue with

Re: [LTP] utimes01

2009-08-07 Thread Subrata Modak
Michal, My x86_32 behaves fine with this Syscall test, may be because it is 2.6.18 kernel as henry said. $ uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux $ ./testcases/bin/utimes01 utimes010 TINFO : (case00) START utimes010 TINFO : E:0,10

Re: [LTP] [PATCH] Issue with rt_sigqueueinfo testcase in LTP.

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 19:21 -0700, Garrett Cooper wrote: > On Thu, Aug 6, 2009 at 5:50 PM, Henry Yei wrote: > > Yes, I had just noticed this as well. Since it was "passing", it took > > awhile to spot. > > > > Returning pass even with tst_resm(TFAIL,.. Being called must have something > > to do

Re: [LTP] top of tree fails to build on PPC fc11 box

2009-08-07 Thread Subrata Modak
On Wed, 2009-08-05 at 14:52 -0300, Lucio Correia wrote: > Hi Kumar, > > On Wed, 2009-07-29 at 13:33 -0500, Kumar Gala wrote: > > I get the following compile error: > > > > make[4]: Leaving directory `/root/ltp/testcases/kernel/syscalls/fstat' > > make[4]: Entering directory `/root/ltp/testcases/

Re: [LTP] waitid02 testcase fails on 2.6.29 kernel

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 09:27 +0200, Michal Simek wrote: > rohit verma wrote: > > PFA the patch for waitid02 > > > I can confirm that this patch fixed problem with waitid02. > It is just confirmation - I haven't look at style/patch in detail - just > works and pass on Microblaze > > Subrate: Do

Re: [LTP] [PATCH][RESEND] Issue observed with chmod05, fchmod05 test cases

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 17:09 +0530, Sharyathi Nagesh wrote: > Subrata > Resending the patch, after the modification. Let me know if this is > acceptable > Thanks > Yeehaw It fails to Apply: patching file testcases/kernel/syscalls/chmod/chmod05.c Hunk #1 succeeded at 240 with fuzz 2. patchi

Re: [LTP] [PATCH] Integration of MCE test suite into LTP

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 14:29 +0100, Kleen, Andi wrote: > >> 3) Sign off from Huang Ying , or, the > >concerned Authors, > > > >Signed-off-by: Huang Ying > >You can add that to the patch. > > And Signed-off-by: Andi Kleen Thank you too. > (wrote also some early code) > > One thing I should ad

Re: [LTP] [PATCH 1/1] openposix_mmap_11_4

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 21:39 +0530, naresh kamboju wrote: > Hi, > > In addition to the below Link discussion > > Date: 16 Jul 2009 > http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg07506.html > > patch is not yet committed to LTP CVs. I am a bit perplexed by all these links. Can y

Re: [LTP] [PATCH] Integration of MCE test suite into LTP

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 09:18 +0800, Huang Ying wrote: > On Thu, 2009-08-06 at 01:55 +0800, Subrata Modak wrote: > > Hi Huang Ying, > > > > On Wed, 2009-08-05 at 16:25 +0530, Subrata Modak wrote: > > > Hi Huang Ying, > > > > > > >On Tue, 2009-06-30 at 10:56 +0800, Huang Ying wrote: > > > >Hi, All,

Re: [LTP] [PATCH] Integration of MCE test suite into LTP

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 14:48 +0800, Huang Ying wrote: > On Wed, 2009-08-05 at 18:55 +0800, Subrata Modak wrote: > > Hi Huang Ying, > > > > >On Tue, 2009-06-30 at 10:56 +0800, Huang Ying wrote: > > >Hi, All, > > > > > > We are working on a test suite to test the Linux kernel MCE handling > > > logi

Re: [LTP] [PATCH 06/13] Add/Port ppoll01 test for ppoll() syscall

2009-08-07 Thread Subrata Modak
On Thu, 2009-08-06 at 11:56 +0200, Michal Simek wrote: > Hi, > > I am getting fault on x86/Microblaze for ppoll. It is run only one > testcase than ends. > Have you ever met with this problem? I have a different problem however on my x86_32 machine: $ ./testcases/bin/ppoll01 ppoll01 0 TIN

[LTP] CPU Accounting Controller test case for LTP.

2009-08-07 Thread Rajasekhar Duddu
Hi, I have developed a testcase for CPU Accounting Controller which is used to group tasks using cgroups and account the CPU usage of these groups of tasks. Here I am posting the patch, please review the patch and let me know if it needs any changes, thanks. diff -rupN ltp-full-20090731//tes

[LTP] [PATCH] Fix calculated syscall numbers for hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64}

2009-08-07 Thread Geert Uytterhoeven
Commit "move leading __NR_ to script to make all the .in files simpler" accidentally removed all plus signs surrounded by spaces from the syscall definition files for hppa/powerpc{,64}/s390{,x}/sh/sparc{,64}, breaking the build like: fstatat01.c: In function ‘main’: fstatat01.c:126

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread naresh kamboju
Hi Brandon Philips, On Tue, Jul 21, 2009 at 6:52 PM, naresh kamboju wrote: > On Tue, Jul 21, 2009 at 10:15 AM, Brandon Philips wrote: >> On 12:35 Tue 30 Jun 2009, naresh kamboju wrote: >>> I have noticed some issue with your patch dated on 12-Dec-2008. >>> I want conform the problem and root cause

Re: [LTP] utimes01

2009-08-07 Thread Michal Simek
Hi Henry, > Michal, > > This is a known issue. If you look at the manpages it states the following > under the BUGS section: > > Linux is not careful to distinguish between the EACCES and EPERM > error returns. On the other hand, POSIX.1-2001 is buggy in its > error description for utim

Re: [LTP] [PATCH 2/4] tst_is_cwd: Add support for ramfs

2009-08-07 Thread Garrett Cooper
On Thu, Aug 6, 2009 at 11:04 PM, Michal Simek wrote: > Hi, > >> On Mon, Aug 3, 2009 at 6:24 AM, wrote: >>> From: Michal Simek >>> >>> I added support for testing ramfs and add together >>> tests for nfs, tmpfs and ramfs. >> >> [...] >> >> Hi Michal, >> >> I'm looking at this code to solve another