[LTP] [Patch] Fix mtest06 failure: caught unexpected signal - 11 --- exiting

2010-08-16 Thread Liang, RenXiu
In mtest06/mmap1.c, when handling the signal 11 in sig_handler, it doesn't cover another two race conditions: one is si_code equals "SEGV_MAPERR" but si_address does not equal to map_address; and one is si_code equals to "SEGV_ACCERR"; see below error log: <<>> tag=mtest06 stime=1270902396 cmdli

Re: [LTP] LTP-20100630:quota_remount_test01.sh test fails.

2010-08-16 Thread Gurudas Pai
Garrett Cooper wrote: > On Sun, Aug 1, 2010 at 11:33 PM, Gurudas Pai wrote: >> Hi, >> >> quota_remount_test01.sh test fails. >> > What Linux distro and what version of whatever package that quota > comes with (might be coreutils*, but Linux keeps on playing musical > chairs with the application

Re: [LTP] pidns31: fix EACCESS error in mq_open()

2010-08-16 Thread Garrett Cooper
On Mon, Aug 16, 2010 at 7:52 AM, Subrata Modak wrote: > > On Wed, 2010-08-04 at 18:43 -0700, Sukadev Bhattiprolu wrote: >> Garrett Cooper [yaneg...@gmail.com] wrote: >> | On Wed, Aug 4, 2010 at 4:52 PM, Sukadev Bhattiprolu >> | wrote: >> | > >> | > pidns31: mq_open() fails with EACCESS. >> | > >>

Re: [LTP] warning when building sighold02.c

2010-08-16 Thread Garrett Cooper
On Mon, Aug 16, 2010 at 11:51 AM, David Marlin wrote: > > The functions read_pipe and write_pipe in sighold02.c each expect a single > file descriptor as arguments, however the function prototypes define no > arguments.  Also, the function references to read_pipe pass two arguments, a > file descr

Re: [LTP] [PATCH][ftests] use MAXPATHLEN for all character arrays that hold path/file names

2010-08-16 Thread Garrett Cooper
On Mon, Aug 16, 2010 at 2:13 PM, Henry Yei wrote: > This patch modifies all tests in the ftest directory to  use > MAXPATHLEN on all character arrays that store path/file names rather > than arbitrarily sized arrays. This corrects issues where there was > truncation happening when copying a path f

Re: [LTP] [PATCH] fix iogen01 test arguments to generate tmp files in TMPDIR in fs runtest file

2010-08-16 Thread Garrett Cooper
On Mon, Aug 16, 2010 at 1:45 PM, Henry Yei wrote: > This patch updates the fs runtest file with arguments for the iogen01 > test to honor the tmp directory set by runltp. Without this patch, the > tmp files are written to /testcases/bin. ACK. -

[LTP] [PATCH][ftests] use MAXPATHLEN for all character arrays that hold path/file names

2010-08-16 Thread Henry Yei
This patch modifies all tests in the ftest directory to use MAXPATHLEN on all character arrays that store path/file names rather than arbitrarily sized arrays. This corrects issues where there was truncation happening when copying a path from one array to another if the path was long enough. The f

[LTP] [PATCH] fix iogen01 test arguments to generate tmp files in TMPDIR in fs runtest file

2010-08-16 Thread Henry Yei
This patch updates the fs runtest file with arguments for the iogen01 test to honor the tmp directory set by runltp. Without this patch, the tmp files are written to /testcases/bin. Signed-off-by: Henry Yei Henry Yei --- ltp-dev/runtest/fs 2010-08-03 16:49:44.749481482 -0700 +++ ltp-dev-wdir/

[LTP] warning when building sighold02.c

2010-08-16 Thread David Marlin
The functions read_pipe and write_pipe in sighold02.c each expect a single file descriptor as arguments, however the function prototypes define no arguments. Also, the function references to read_pipe pass two arguments, a file descriptor and '0'. The second argument should not be passed, a

[LTP] warning when building pread01.c

2010-08-16 Thread David Marlin
Function compare_bufers in pread01.c does not expect any arguments, but the reference to compare_bufers passes two arguments: compare_bufers(write_buf, read_buf); Within the function compare_bufers, write_buf and read_buf are accessed via their global definitions. These variables are a

Re: [LTP] redefinition of errno in some syscalls tests

2010-08-16 Thread Garrett Cooper
On Aug 16, 2010, at 10:12 AM, David Marlin wrote: > > testcases/kernel/syscalls/string/string01.c ACK (will commit when I get home). -Garrett -- This SF.net email is sponsored by Make an app they can't live w

[LTP] redefinition of errno in some syscalls tests

2010-08-16 Thread David Marlin
I found that some of the testcases in kernel/syscalls redefine 'errno' as 'int': int errno; 'errno' is normally in errno.h as a #define to a function returning a pointer, i.e., extern int *__errno_location (void) . . . Attached is a patch to remove the redefinition from the followin

Re: [LTP] [patch]hugeshmat issue

2010-08-16 Thread Garrett Cooper
On Mon, Aug 16, 2010 at 1:13 AM, lina.zhao wrote: > See Mips run(2nd edition): 14.4 :MIPS/Linux system address transfer: linux > address map:see the attachment >> >> On Thu, Aug 12, 2010 at 1:13 AM, lina.zhao >> wrote: >> >>> >>> Hi, >>> >>> In hugeshmat01 and hugeshmat02, the attach address for

Re: [LTP] [PATCH] ltp setrlimit testcase patch for RLIMIT_FSIZE resource

2010-08-16 Thread Garrett Cooper
On Mon, Aug 16, 2010 at 7:21 AM, Subrata Modak wrote: > On Mon, 2010-08-16 at 17:05 +0530, Harsh Prateek Bora wrote: >> Current testcase for setrlimit resource RLIMIT_FSIZE >> is using a global integer variable to communicate the number of >> bytes from child to parent which is incorrect. This >>

Re: [LTP] LTP-20100630:quota_remount_test01.sh test fails.

2010-08-16 Thread Garrett Cooper
On Sun, Aug 1, 2010 at 11:33 PM, Gurudas Pai wrote: > Hi, > > quota_remount_test01.sh test fails. > > <<>> > tag=quota_remount_test01 stime=1280709472 > cmdline="quota_remount_test01.sh" > contacts="" > analysis=exit > <<>> > incrementing stop > quota_remount_test01    0  TINFO  :  Successfully mo

Re: [LTP] LTP-20100630:quota_remount_test01.sh test fails.

2010-08-16 Thread Subrata Modak
See this: <<>> tag=quota_remount_test01.sh stime=1281970608 cmdline="quota_remount_test01.sh" contacts="" analysis=exit <<>> incrementing stop quota_remount_test010 TINFO : Successfully mounted the File System quota_remount_test010 TINFO : Successfully Created Quota Files quota_remou

Re: [LTP] pidns31: fix EACCESS error in mq_open()

2010-08-16 Thread Subrata Modak
On Wed, 2010-08-04 at 18:43 -0700, Sukadev Bhattiprolu wrote: > Garrett Cooper [yaneg...@gmail.com] wrote: > | On Wed, Aug 4, 2010 at 4:52 PM, Sukadev Bhattiprolu > | wrote: > | > > | > pidns31: mq_open() fails with EACCESS. > | > > | > pidns31 test case fails with EACCESS - due to the leading '

Re: [LTP] : drop test pidns03 ?

2010-08-16 Thread Subrata Modak
Dropped. Regards-- Subrata commit b47b875e00fbea4bb3398ac2f3ef4b4dd32826f0 Author: Subrata Modak Date: Mon Aug 16 20:08:51 2010 +0530 On Thu, 2010-08-05 at 17:00 -0700, Sukadev Bhattiprolu wrote: > I am not sure about the original intent of pidns03 test case but I think > the test is expected

[LTP] [ANNOUNCE] LCOV-1.9 Release

2010-08-16 Thread Subrata Modak
Dear All, Peter has worked hard to release LCOV-1.9 for you. Please pick your copies directly from: https://sourceforge.net/projects/ltp/files/Coverage% 20Analysis/LCOV-1.9/lcov-1.9.tar.gz/download, https://sourceforge.net/projects/ltp/files/Coverage% 20Analysis/LCOV-1.9/lcov-1.9-1.src.rpm/downlo

Re: [LTP] [PATCH] ltp setrlimit testcase patch for RLIMIT_FSIZE resource

2010-08-16 Thread Subrata Modak
On Mon, 2010-08-16 at 17:05 +0530, Harsh Prateek Bora wrote: > Current testcase for setrlimit resource RLIMIT_FSIZE > is using a global integer variable to communicate the number of > bytes from child to parent which is incorrect. This > has been corrected by introducing a pipe to transfer > this i

Re: [LTP] Wanted to contribute to LTP

2010-08-16 Thread Cyril Hrubis
Hi! > I am Onkar. I am currently working as software tester for 1.3 years. I know > Perl, Shell script . I am RHCT. > > I would like to join LTP may I know how can I join this project. > Well as said by others here several times, there is no official joining procedure. Just start to play with L

Re: [LTP] Project admin

2010-08-16 Thread Peter Oberparleiter
Hi Subrata, On 16.08.2010 15:08, Subrata Modak wrote: > I am pretty inside office right now. Was busy in some schedules and was > not able to look into your request. Consider it done by tomorrow EOD :-) excellent :), thanks! Regards, Peter > Sorry for the delay. > > Regards-- > Subrata > >

Re: [LTP] Help....

2010-08-16 Thread Cyril Hrubis
Hi! > please help me by telling that how to disable the function "tst_rmdir()" in > LTP. > this function is causing lots of failures in many testcases. > mainly tests in dio testcase are failing because of some error in this > function. > i tried lots of things,like made the function "tst_rmdir()"

Re: [LTP] Project admin

2010-08-16 Thread Subrata Modak
I am pretty inside office right now. Was busy in some schedules and was not able to look into your request. Consider it done by tomorrow EOD :-) Sorry for the delay. Regards-- Subrata On Mon, 2010-08-16 at 14:19 +0200, Peter Oberparleiter wrote: > Hi, > > I'd like to release a new version of the

[LTP] Project admin

2010-08-16 Thread Peter Oberparleiter
Hi, I'd like to release a new version of the LCOV package but it appears that Subrata Modak (who usually handles this) is currently out of office and I'm wondering if anybody else can upload files to the LTP project site. Regards, Peter Oberparleiter --

[LTP] [PATCH] ltp setrlimit testcase patch for RLIMIT_FSIZE resource

2010-08-16 Thread Harsh Prateek Bora
Current testcase for setrlimit resource RLIMIT_FSIZE is using a global integer variable to communicate the number of bytes from child to parent which is incorrect. This has been corrected by introducing a pipe to transfer this information from child to parent process. Signed-off-by: Harsh Prateek

[LTP] Help....

2010-08-16 Thread ARJIT SHARMA
please help me by telling that how to disable the function "tst_rmdir()" in LTP. this function is causing lots of failures in many testcases. mainly tests in dio testcase are failing because of some error in this function. i tried lots of things,like made the function "tst_rmdir()" to skip. Bt stil