[LTP] [PATCH] Create testfile in tmpdir to be consistent with other tests.

2007-11-13 Thread Kumar Gala
Create testfile in tmpdir to be consistent with other tests. The makes the behavior consistent with other testcases if /tmp is a different fs than where the testcase is run from. --- ltp-full-20071031.orig/testcases/kernel/syscalls/splice/splice01.c 2007-11-02 03:34:57.0 -0500 +++ ltp-f

[LTP] [PATCH] Close fd's to make running on NFS work

2007-11-13 Thread Kumar Gala
If we don't close the fd's we open and are running on NFS we get warnings like: tst_rmdir(): rmobj(/tmp/wri7hJN5W) failed: unlink(/tmp/wri7hJN5W/.nfs02770dc10001) failed; errno=16: Device or resource busy --- ltp-full-20071031.orig/testcases/kernel/syscalls/creat/creat01.c 2007-

[LTP] fchown03 failure on nfs root?

2007-11-13 Thread Kumar Gala
I get the following when I run fchown03 on a nfs root fs: fchown031 FAIL : testfile: Incorrect mode permissions 0104770, Expected 0100770 Its not clear if this is expected behavior or not on a NFS fs. - k - This SF

Re: [LTP] [PATCH][KDUMP] the script failed to detect the present of vmcore

2007-11-13 Thread Subrata Modak
On Tue, 2007-11-13 at 17:45 +0800, Cai Qian wrote: > Hi Subrata, > > From: Subrata Modak <[EMAIL PROTECTED]> > Subject: Re: [LTP] [PATCH][KDUMP] the script failed to detect the present of > vmcore > Date: Mon, 12 Nov 2007 15:59:18 +0530 > > > Hi Cai, > > > > Can you kindly share your LTP-KDUMP

Re: [LTP] [PATCH][KDUMP] the script failed to detect the present of vmcore

2007-11-13 Thread Cai Qian
Hi Subrata, From: Subrata Modak <[EMAIL PROTECTED]> Subject: Re: [LTP] [PATCH][KDUMP] the script failed to detect the present of vmcore Date: Mon, 12 Nov 2007 15:59:18 +0530 > Hi Cai, > > Can you kindly share your LTP-KDUMP test results for all the 3 patches > that you sent earlier, for the iss

Re: [LTP] [PATCH][KDUMP] the script failed to detect the present of vmcore

2007-11-13 Thread Subrata Modak
CQ, All the three patches that you submitted will be taken care soon. As i informed you earlier that Poornima is also working on some automation in LTP-KDUMP, she will integrate your pacthes with herÅ›. But i would require the test results for all the changes that you had done in KDUMP, as, i want t

Re: [LTP] [PATCH 2/2] proc01: read of /proc/self but skip other /proc/ directories

2007-11-13 Thread Subrata Modak
True. And this also has been taken care of. --Subrata-- On Tue, 2007-11-13 at 13:33 +0800, Cai Qian wrote: > Hi, > > The test case attempts to read all /proc/ directories. However, > processes may disappear during the test, so we have seen errors like > this, > > /proc/2143: lstat: No such file

Re: [LTP] [PATCH 1/2] proc01: skip write-only files

2007-11-13 Thread Subrata Modak
This has been Applied. --Subrata-- On Tue, 2007-11-13 at 13:20 +0800, Cai Qian wrote: > Hi, > > proc01 test case attempts to read files which are not designed to be > read. Therefore, it causes the test to fail. For example, > > --w--- 1 root root 0 Nov 13 13:09 /proc/sysrq-trigger > > The

Re: [LTP] Moving LTP to git?

2007-11-13 Thread Kumar Gala
On Nov 13, 2007, at 2:23 AM, Mike Frysinger wrote: > On Tuesday 13 November 2007, Kumar Gala wrote: >> On Nov 13, 2007, at 1:27 AM, Mike Frysinger wrote: >>> On Tuesday 13 November 2007, Kumar Gala wrote: any possibility of moving LTP to using git for source control? >>> >>> not until sf.net

Re: [LTP] Moving LTP to git?

2007-11-13 Thread Mike Frysinger
On Tuesday 13 November 2007, Kumar Gala wrote: > On Nov 13, 2007, at 1:27 AM, Mike Frysinger wrote: > > On Tuesday 13 November 2007, Kumar Gala wrote: > >> any possibility of moving LTP to using git for source control? > > > > not until sf.net supports it > > Any particular reason it has to be host

Re: [LTP] Remove some bash'ism

2007-11-13 Thread Mike Frysinger
On Tuesday 13 November 2007, Khem Raj wrote: > Mike Frysinger wrote: > > On Tuesday 13 November 2007, Khem Raj wrote: > >> This patch makes this shell script runnable on dash in addition to bash. > >> If you find it useful please apply. > > > > imo, it is not useful. your dash is broken, so compla

Re: [LTP] Moving LTP to git?

2007-11-13 Thread Kumar Gala
On Nov 13, 2007, at 1:27 AM, Mike Frysinger wrote: > On Tuesday 13 November 2007, Kumar Gala wrote: >> any possibility of moving LTP to using git for source control? > > not until sf.net supports it Any particular reason it has to be hosted on sf.net? I'm sure kernel.org would be happy to host

Re: [LTP] Remove some bash'ism

2007-11-13 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Frysinger wrote: > On Tuesday 13 November 2007, Khem Raj wrote: >> This patch makes this shell script runnable on dash in addition to bash. >> If you find it useful please apply. > > imo, it is not useful. your dash is broken, so complain to the

Re: [LTP] Remove some bash'ism

2007-11-13 Thread Mike Frysinger
On Tuesday 13 November 2007, Khem Raj wrote: > Mike Frysinger wrote: > > imo, it is not useful. your dash is broken, so complain to the dash > > maintainers to fix it. > > never mind here it is already reported :) > > https://bugs.launchpad.net/ubuntu/+source/dash/+bug/92189 > > I should have doub