Timothy R. Chavez wrote:
-int set_affinity(int cpuid)
+int set_affinity(int thread_id)
This argument seems pointless to me. In main_thread, where you call
create_fifo_thread, you'll want to initialize the thread arguments to
NULL, rather than cpuid, because, as you've already established,
CAI Qian wrote:
Hi,
Please see comments as below.
--- Veerendra [EMAIL PROTECTED] wrote:
Hi
Attaching the patch for the testcase on PIDNS.
Assertion:
1. kill -9 1 from inside a container does not kill container
Steps:
a) create container
b) kill -9 1
c) Should not kill the
Hi,
+if [ $? -ne 0 ]; then
+exit_code=$?
In this case, the second $? will always be 0, because that is not the error
code from if
statement.
Cai Qian
+exit $exit_code
+fi
exit $exit_code
-
This SF.Net
CAI Qian wrote:
Hi,
+if [ $? -ne 0 ]; then
+ exit_code=$?
In this case, the second $? will always be 0, because that is not the error
code from if
statement.
Cai Qian
oh, I got it now! I will send a fix for this.
Thanks
Veerendra C
On Tue, 2008-10-07 at 16:00 +0200, Benjamin Thery wrote:
From: Benjamin Thery [EMAIL PROTECTED]
Subject: netns: fix restoration of original /proc values
(ip_forward...)
This small patches make the restoration of
/proc/sys/net/ipv4/ip_forward
/proc/sys/net/ipv4/conf/$netdev/proxy_arp
On Wed, 2008-10-08 at 11:30 +0530, Veerendra wrote:
Hi ,
I noticed the OOM killer while running the hackbench tests in zSeries.
The machine had memory of 2GB and swap space of 1GB.
While running the 'hackbench 300' noticed this OOMs.
I used the z9 Lpar box to test this.
It
On Wed, 2008-10-08 at 14:55 -0700, Malov, Vlad wrote:
Adding support for mips64. Use 64 bit variable to store the 64 bit
address.
Tested on mips64 system running Cavium Networks Octeon chip, Linux
2.6.27.
The patch:
Applies fine. Tested and Merged. Next time please include the following
This should have been fixed by now with all the Patches and changes that
i have made. Please verify.
Regards--
Subrata
On Thu, 2008-10-09 at 00:02 -0700, CAI Qian wrote:
Hi,
When compiled ltp-base-20080930 on an IA-64 machine, it failed,
cc -Wall -I../../include -g -Wall
On Tue, 2008-10-07 at 21:08 -0700, Malov, Vlad wrote:
Simple bug in logic that defines when to run the test makes it run
exclusively when support is NOT implemented.
Tested on mips64 system running Cavium Networks Octeon chip, Linux
2.6.27
The fix:
Thanks for the Fix. But the Patch was
GarrettĀ“s upcoming work will probably solve this problem. Gareet, what
do you think about this ?
Regards--
Subrata
On Thu, 2008-10-09 at 15:10 -0400, Shane Volpe wrote:
I'm running an embedded system and do not compile ltp on it instead I
compile it on a host system and then copy it to a SD
On Wed, 2008-10-08 at 04:13 -0700, CAI Qian wrote:
Hi,
With Exec-Shield in place, the Kernel automatically adjusts the stack downward
by a random amount of bytes. This will cause the test failed occasionally on
IA-32, because the 11th requested chunk of address space (bfe0-bff0)
Thanks. Merged.
Regards--
Subrata
On Fri, 2008-10-10 at 17:49 +0800, Jin Bing Guo wrote:
Hi,
When I tested the inotify02 on ppc64, it passed all tests and returned
1 with an unnecessary event.
-
Running tests...
test_start
tag=inotify02 stime=1222503205
cmdline=inotify02
On Tue, 2008-10-14 at 17:35 +0530, Sudhir Alluri wrote:
Hi,
I Ran LTP for a few hours, and noticed the folloeing testcases
failed.
Test Start Time: Tue Oct 14 12:08:43 2008
Hello,
The gethostid01 test fails when the host id is not set on a system. The
gethostid() call retrieves as the host id. Added a check to
compare the return value with 00 (omitted 1st two 0's as they
could also be 0x on some systems; needs confirmation).
Signed-off by : Vinay
On Wed, Oct 15, 2008 at 5:34 PM, Veerendra [EMAIL PROTECTED]wrote:
CAI Qian wrote:
Hi,
+if [ $? -ne 0 ]; then
+ exit_code=$?
In this case, the second $? will always be 0, because that is not the
error code from if
statement.
Cai Qian
oh, I got it now! I will send a
On Tue, 2008-10-14 at 14:24 +0800, Jin Bing Guo wrote:
On 10/14 10:12AM, Sudhir Alluri wrote:
Hi,
I got the below build error, wheni tried to build on s390 platform
Linux 2.6.16.21-0.8-default #1 SMP Mon Jul 3 18:25:39 UTC 2006 s390x s390x
s390x GNU/Linux
cc -Wall
On Wed, 2008-10-08 at 15:44 +0800, Jin Bing Guo wrote:
Hi,
Yes, I believe it's an error. The spawn_ptrace_child.c file is necessary to
ptrace04 and ptrace06. To do a #include *.c file is not a good coding style.
The simplest solution is to rename the spawn_ptrace_child.c to
On Thu, 2008-10-09 at 08:01 -0400, Shane Volpe wrote:
I'm using an embedded arm processor (Xscale) and I get the following
compile error:
timerfd01.c:90: error: '__NR_timerfd_settime' undeclared (first use
in this function)
I have dug through past patches for this exact problem and have
Signed-off-by: CAI Qian [EMAIL PROTECTED]
Thanks Cai for these fixes. You may want to revisit the latest sources
again to find everything is working fine. I have made lots of changes
today.
Regards--
Subrata
diff -ur ltp/pan/Makefile ltp-new/pan/Makefile
--- ltp/pan/Makefile 2008-04-02
Hi,
This patch cleans code a little bit by removing leftovers.
Signed-off-by: CAI Qian [EMAIL PROTECTED]
--- ltp/testcases/kernel/syscalls/nanosleep/nanosleep01.c.orig 2008-10-15
18:21:29.646239394 +0800
+++ ltp/testcases/kernel/syscalls/nanosleep/nanosleep01.c 2008-10-15
On Tue, 2008-10-14 at 11:27 +0530, Veerendra wrote:
Hi
Attaching the patch for the testcase on PIDNS.
Thanks Veerendra. You missed out:
Signed-Off-By: Veerendra [EMAIL PROTECTED]
Regards--
Subrata
Assertion:
1. kill -9 1 from inside a container does not kill container
Steps:
a)
On Wed, 2008-10-15 at 14:03 +0530, Vinay Sridhar wrote:
Hello,
The gethostid01 test fails when the host id is not set on a system. The
gethostid() call retrieves as the host id. Added a check to
compare the return value with 00 (omitted 1st two 0's as they
could also be 0x on
On Mon, 2008-10-13 at 15:51 +0530, Sudhir Alluri wrote:
Hi,
I get the following error, on make.
Again not sure about this. May be the original author can figure out
something.
Ramon,
Can you please look into this ?
Regards--
Subrata
On Thu, 2008-10-09 at 00:35 -0700, CAI Qian wrote:
Hi,
Remap_file_pages01 and remap_file_pages02 tests always failed on
IA-64 with Kernel 2.6.9 as below,
# ./remap_file_pages01
remap_file_pages011 FAIL : remap_file_pages error for page=1207959552,
page_sz=32768,
window_pages=14
Quoting Subrata Modak ([EMAIL PROTECTED]):
On Wed, 2008-10-08 at 11:30 +0530, Veerendra wrote:
Hi ,
I noticed the OOM killer while running the hackbench tests in zSeries.
The machine had memory of 2GB and swap space of 1GB.
While running the 'hackbench 300' noticed this OOMs.
On Thu, 2008-10-09 at 22:31 -0700, CAI Qian wrote:
--- Elder Costa [EMAIL PROTECTED] wrote:
Hello.
The script run_semaphore_test_01 fails the first time it is run as the
semaphore id is zero (subsequent runs are successful as the ids are
nonzero.) The attached patch fixes this
On Mon, 2008-10-06 at 12:25 +0530, Sudhir Kumar wrote:
On Mon, Oct 06, 2008 at 12:14:26PM +0530, Rishikesh K Rajak wrote:
Description: The testcase return error when run `run_memctl_test.sh`
with no argument.
First you need to know what is the use of the variable passed to the
I have run the latest CVS version and noticed ptrace06 is not being
compiled. Previous versions did compile but did not include it in the
default test lists so it was not running.
Anyway I am getting an error when I run it in two different systems with
Ubuntu Feisty:
ptrace06 16 FAIL :
Hello. I had two errors when compiling the CVS version with Ubuntu. The
one in regen.sh might have to do with some dash limitation (it
complains about not supporting more than 32 shifts.) The one with the
Makefile has to do with the version of lex I have here (lex 2.5.33)
complaining about
Hi,
--- Elder Costa [EMAIL PROTECTED] wrote:
I have run the latest CVS version and noticed ptrace06 is not being
compiled. Previous versions did compile but did not include it in the
default test lists so it was not running.
Anyway I am getting an error when I run it in two different
Hi,
--- Subrata Modak [EMAIL PROTECTED] wrote:
This should have been fixed by now with all the Patches and changes that
i have made. Please verify.
The problem is still there.
Cai Qian
Regards--
Subrata
On Thu, 2008-10-09 at 00:02 -0700, CAI Qian wrote:
Hi,
When compiled
Hi Subrata,
--- Subrata Modak [EMAIL PROTECTED] wrote:
Signed-off-by: CAI Qian [EMAIL PROTECTED]
Thanks Cai for these fixes. You may want to revisit the latest sources
again to find everything is working fine. I have made lots of changes
today.
Yes, it finally compiles fine on both
Hello,
I get compilation errors when compiling LTP-full-20080930 version on s390x
systems. Here's the identification of the system
Linux FP3 2.6.16.21-0.8-default #1 SMP Mon Jul 3 18:25:39 UTC 2006 s390x
s390x s390x GNU/Linux
It'll be great if you could answer my questions below the
33 matches
Mail list logo