Re: [LTP] [patch 1/3] the revised test case for signalfd with cond.mk

2008-09-10 Thread Subrata Modak
Yamato, Send these series (1-3) as a patch either embedded in the mail, or, as an attachment. But, as Vijay wants it in mail, better embed in mail. What you have done is just pasted the code. Instead, create patches and then paste patch(s) like the following: Check /proc/net/connector to see if

Re: [LTP] [PATCH] fix getcpu test on parisc

2008-09-10 Thread Subrata Modak
Helge, Kindly resend an updated patch after Sharyathi´s comments. Regards-- Subrata On Wed, 2008-09-10 at 09:37 +0530, Sharyathi Nagesh wrote: Helge It is fine replacing those 2 conditional checks with __GLIBC_PREREQ as long as it is defined in LTP, I don't see it defined any where ( I

Re: [LTP] [PATCH] Add switches to turn on/off newer_64 test.

2008-09-10 Thread Subrata Modak
Roy Yamato, I am a bit confused here. Can any of you guys send me an updated patch in this series as well which updates both: 1) utils/compat_16.mk, , 2) utils/newer_64.mk, etc Kindly send me a consolidated patch, which addresses all the issues which you both are discussing. Once you agree on

Re: [LTP] [PATCH] Add switches to turn on/off newer_64 test.

2008-09-10 Thread Masatake YAMATO
Subrata, Sorry making you confusing. My patch is based on Roy's. In my patch my comment is reflected on my patch. My comment is applicable to both compat_16.mk and newer_64.mk. So I submitted them in one post. Roy asked me to rewrite the original one and submit it. So I did. I already

Re: [LTP] [PATCH 2/5] Fix memory leak in trace_sched

2008-09-10 Thread Subrata Modak
Thanks for this too. Regards-- Subrata On Wed, 2008-09-10 at 12:53 +0800, Jin Bing Guo wrote: Hi, Use valgrind tool (http://valgrind.org/) to check the memory leak problem. Now the valgrind can be compiled on the following platforms: X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux.

Re: [LTP] [PATCH 4/5] Fix memory leak in semaphore_test_02

2008-09-10 Thread Subrata Modak
Thanks for this too. Regards-- Subrata On Wed, 2008-09-10 at 12:59 +0800, Jin Bing Guo wrote: Hi, Use valgrind tool (http://valgrind.org/) to check the memory leak problem. Now the valgrind can be compiled on the following platforms: X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux.

Re: [LTP] [PATCH] Add switches to turn on/off newer_64 test.

2008-09-10 Thread Subrata Modak
Hi Yamato, On Wed, 2008-09-10 at 16:52 +0900, Masatake YAMATO wrote: Subrata, Sorry making you confusing. My patch is based on Roy's. In my patch my comment is reflected on my patch. My comment is applicable to both compat_16.mk and newer_64.mk. So I submitted them in one post. Roy

Re: [LTP] [PATCH] Add switches to turn on/off newer_64 test.

2008-09-10 Thread Roy Lee
Hi Subrata, Sorry for the confusion, earlier I sent two patches for the discussed issues. And then I ask Masatake for help rewriting a merged revision. Please merge the latest patch from Masatake. Thanks. - This SF.Net

Re: [LTP] [patch] the revised test case for signalfd with cond.mk

2008-09-10 Thread Masatake YAMATO
Yamato, Send these series (1-3) as a patch either embedded in the mail, or, as an attachment. But, as Vijay wants it in mail, better embed in mail. What you have done is just pasted the code. Instead, create patches and then paste patch(s) like the following: Like this? What kind of

Re: [LTP] [patch] the revised test case for signalfd with cond.mk

2008-09-10 Thread Subrata Modak
Yamato, On Wed, 2008-09-10 at 17:28 +0900, Masatake YAMATO wrote: Yamato, Send these series (1-3) as a patch either embedded in the mail, or, as an attachment. But, as Vijay wants it in mail, better embed in mail. What you have done is just pasted the code. Instead, create patches and

Re: [LTP] [PATCH 3/5] Fix memory leak in message_queue_test_01

2008-09-10 Thread Subrata Modak
Thanks for this too. Regards-- Subrata On Wed, 2008-09-10 at 12:56 +0800, Jin Bing Guo wrote: Hi, Use valgrind tool (http://valgrind.org/) to check the memory leak problem. Now the valgrind can be compiled on the following platforms: X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux.

Re: [LTP] compat_gid.h

2008-09-10 Thread Subrata Modak
Hi Yamato, On Tue, 2008-09-09 at 17:25 +0900, Masatake YAMATO wrote: Hi, I worked on 2 test cases for foogid16 system calls; and I will do 5 more. All these test cases have the same macro. So I'd like to introduce compat_gid.h; and put the macro to the file. Could you add compat_gid.h

Re: [LTP] [patch] the revised test case for signalfd with cond.mk

2008-09-10 Thread Masatake YAMATO
Yamato, Send these series (1-3) as a patch either embedded in the mail, or, as an attachment. But, as Vijay wants it in mail, better embed in mail. What you have done is just pasted the code. Instead, create patches and then paste patch(s) like the following: Like this?

Re: [LTP] [patch] the revised test case for signalfd with cond.mk

2008-09-10 Thread Masatake YAMATO
Yamato, Send these series (1-3) as a patch either embedded in the mail, or, as an attachment. But, as Vijay wants it in mail, better embed in mail. What you have done is just pasted the code. Instead, create patches and then paste patch(s) like the following: Like this? What kind

Re: [LTP] [patch] the revised test case for signalfd with cond.mk

2008-09-10 Thread Vijay Kumar
Masatake YAMATO wrote: I'm very interested in git. But I don't know where is a master git tree. Which tree are you using? There is a git mirror of LTP's CVS, maintained by Kumar Gala, at git://git.kernel.org/pub/scm/linux/kernel/git/galak/ltp.git Regards, Vijay

[LTP] [PATCH] Passing $CFLAGS to compiler

2008-09-10 Thread Roy Lee
From: Roy Lee [EMAIL PROTECTED] --- testcases/kernel/containers/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/containers/Makefile b/testcases/kernel/containers/Makefile index 2e1fc43..5c61483 100644 --- a/testcases/kernel/containers/Makefile

Re: [LTP] [PATCH] Passing $CFLAGS to compiler

2008-09-10 Thread Subrata Modak
On Wed, 2008-09-10 at 17:50 +0800, Roy Lee wrote: From: Roy Lee [EMAIL PROTECTED] Thanks. Regards-- Subrata --- testcases/kernel/containers/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/containers/Makefile

Re: [LTP] [patch 0/9] Network NS patch

2008-09-10 Thread Veerendra
Submitting the series of patches for network namespace of containers . These patches addresses the comments of Benjamin/Serge on the patches I had posted earlier. Also included the ack of Serge. Regards Veerendra C - This

Re: [LTP] [patch 1/9] Network NS - basic.patch

2008-09-10 Thread Veerendra
This patch has 4 files.. check_netns_enabled.c - checks for the network ns is enabled initialize.sh - Initializes the common functions and variables Makefile - Makefile runnetnstest.sh - Creates a batch file to run the tests. Signed off by Veerendra C [EMAIL PROTECTED] ACKed by Serge

[LTP] [PATCH 1/4] [lib6] Fix build error under glibc-2.8

2008-09-10 Thread Mitsuru Chinen
To make POSIX namespace clear, glibc-2.8 requires people to define _GNU_SOURCE when they use Advanced Socket APIs. Signed-off-by: Mitsuru Chinen [EMAIL PROTECTED] --- testcases/network/lib6/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [LTP] [patch 2/9] Network NS - cont.patch

2008-09-10 Thread Veerendra
This patch contains files containers/Makefile - Makefile updated for netns containers/README - Updated Readme file containers/container_test.sh - Updated batch processing file for netns Signed off by Veerendra C [EMAIL PROTECTED] ACKed by Serge Hallyn [EMAIL PROTECTED] Modified the

Re: [LTP] [patch 3/9] Network NS - crtnetns.patch

2008-09-10 Thread Veerendra
Added files crtchild.c - Program which calls the scripts parent.sh - Checks the child NS is pinging from ParentNS child.sh - Checks the Parent NS is pinging from Child NS parentns.sh - Sets up the infrastruture to create NS childns.sh - This sets up the infra reqd from the child NS

[LTP] [PATCH 3/4] [lib6 / asapi_06] Use CMSG macros instead of handling cmsghdr member directly

2008-09-10 Thread Mitsuru Chinen
man 3 cmsg says Ancillary data should only be accessed using the CMSG macros and never directly. Indeed, when we handles cmsghdr mamber directly, this test falls into the infinite loop on a x86_64 environment. Signed-off-by: Mitsuru Chinen [EMAIL PROTECTED] --- testcases/network/lib6/asapi_06.c

Re: [LTP] [patch 4/9] Network NS - ftp.patch

2008-09-10 Thread Veerendra
This patch consists changes required to address the below files, if required. ch_ftp.sh - Starts the ftp from the child NS container_ftp.pl - Handles the mechanism of logging and doing the ftp par_chld_ftp.c - Basic program to test the ftp between parent and child ns par_ftp.sh - Establishes

Re: [LTP] [patch 5/9] Network NS - ipv6.patch

2008-09-10 Thread Veerendra
This patch consists changes required to address the below files, if required. This patch consists of the files childipv6.sh - Tests the IPv6 connection from child NS to parent NS par_chld_ipv6.c - Basic program to create the namespaces paripv6.sh - Tests the IPv6 connection from parent NS to

Re: [LTP] [patch 8/9] Network NS - sysfsview.patch

2008-09-10 Thread Veerendra
This patch addresses the comments if any, on the below files child_propogate.sh - Propagates the contents of the child sysfs to parentNS. parent_share.sh - Creates a sharable volume of the sysfs for child to access. parent_view.sh - Parent NS verifies the contents of the child sysfs. sysfsview.c

Re: [LTP] [patch 9/9] Network NS - twonetns.patch

2008-09-10 Thread Veerendra
This patch addresses the comments if any , on the below files. child_1.sh - Creates the child NS1 and verifies the connection to child2 NS child_2.sh - Creates the child NS2 and verifies the connection to child1 NS parent_1.sh - Creates the parent NS1 parent_1.sh - Creates the parent NS2

[LTP] [PATCH 2/4] [lib6 / asapi_03] Modified wrong definitions

2008-09-10 Thread Mitsuru Chinen
The definitions, ICMP6_RR_PCOUSE_DECRVLTIME and ICMP6_RR_PCOUSE_DECRPLTIME are wrong. According to RFC3542, they should be ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME, ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME. Signed-off-by: Mitsuru Chinen [EMAIL PROTECTED] --- testcases/network/lib6/asapi_03.c |8 1

Re: [LTP] [patch 6/9] Network NS - lib.patch

2008-09-10 Thread Veerendra
This patch has the makefile and library required. please apply all the 9 patches before you start testing/reviewing them This patch addresses the comments for the below 3 files . libclone/Makefile - libclone/libclone.h - Where it adds the flags required for the netns and function

Re: [LTP] [patch 1/9] Network NS - basic.patch

2008-09-10 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): This patch has 4 files.. check_netns_enabled.c - checks for the network ns is enabled initialize.sh - Initializes the common functions and variables Makefile - Makefile runnetnstest.sh - Creates a batch file to run the tests. Signed off by

Re: [LTP] Error in the Program

2008-09-10 Thread Robert Williamson
Hi Subhankar, I'll forward this email to the mailing list, as I am not involved in the maintanence of the LTP anymore, and it is actually the appropriate venue for such questions. -Robbie Subhankar Katyayan [EMAIL PROTECTED] wrote on 09/10/2008 08:12:01 AM: Hi, The program which I have

[LTP] Error in the program

2008-09-10 Thread subhankar katyayan
Hi, The program (taken from LTP only) which I have attached is failing (segmentation fault) when I am trying to execute as follows ./shmem -r 10 -w 4 -s 10 (W is the writer thread, if I give W as 4 or more it fails) But at the same time if I am trying to execute it as ./shmem -r 10 -w 3 -s

Re: [LTP] [PATCH] fix getcpu test on parisc

2008-09-10 Thread Helge Deller
Thanks for the comments Sharyathi, Sharyathi Nagesh wrote: Helge It is fine replacing those 2 conditional checks with __GLIBC_PREREQ as long as it is defined in LTP, I don't see it defined any where ( I may be looking at older version) You won't find it in LTP sources, since