[LTP] LTP-20090131: gcc/g++ and Aio-uclibc issues

2009-02-25 Thread Francesco RUNDO
Hi, I'm a user of LTP. I use LTP for testing SH based Linux kernel for our embedded systems. I'm using a kernel 2.6.23. I've downloaded latest LTP release: ltp-full-20090131.tgz. I've found the following issues: 1) I found some instructions on some LTP Makefiles reporting direct calls to

Re: [LTP] LTP-20090131: gcc/g++ and Aio-uclibc issues

2009-02-25 Thread Garrett Cooper
On Feb 25, 2009, at 1:38 AM, Francesco RUNDO wrote: Hi, I'm a user of LTP. I use LTP for testing SH based Linux kernel for our embedded systems. I'm using a kernel 2.6.23. I've downloaded latest LTP release: ltp-full-20090131.tgz. I've found the following issues: 1) I found some

Re: [LTP] [SMACK] Simplified Mandatory Access Control test cases

2009-02-25 Thread Subrata Modak
Hi Casey, Thanks for these tests. However there are some comments below: 1) There is a little bit of lack of documentation. Can you please attach atleast a README, which tells how to run the tests. After: make I was not sure which script to invoke to run all the tests. There are lot of scripts

Re: [LTP] Information about Controller Area Network

2009-02-25 Thread Subrata Modak
Hi All, After downloading the can-tests sources from: http://svn.berlios.de/wsvn/socketcan/trunk/test/?rev=877sc=1 I ran it on my machine running the following kernel and headers: # uname -a Linux 2.6.27.15-2-default #1 SMP 2009-02-09 15:38:31 +0100 x86_64 x86_64 x86_64 GNU/Linux # rpm -qa |

[LTP] [PATCH 02/10] uclinux: It is necessary to compile include to because of

2009-02-25 Thread michal . simek
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/Makefile |2 +- testcases/kernel/include/Makefile |3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile

[LTP] [PATCH 03/10] Use make install for uclinux too.

2009-02-25 Thread michal . simek
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/syscalls/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/syscalls/Makefile b/testcases/kernel/syscalls/Makefile index 6d06617..eed2f6c

[LTP] [PATCH 08/10] Fix return(NULL) - return NULL

2009-02-25 Thread michal . simek
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/fs/doio/doio.c |2 +- testcases/kernel/syscalls/sigrelse/sigrelse01.c |4 ++-- testcases/kernel/syscalls/symlink/symlink01.c |2 +- 3 files changed, 4

[LTP] Microblaze + coding style cleanup

2009-02-25 Thread michal . simek
Hi Subrata, here is the first my pack. I expect I'll send some later. Here are three type of changes in one thread. 1. Microblaze specific change - only some 2. uclinux changes I am not sure how many people use the latest code but for me these changes are necessary 3. code cleanup. I found big

[LTP] [PATCH 01/10] Add microblaze support for linux_syscall_number.h

2009-02-25 Thread michal . simek
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/include/order |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/include/microblaze.in diff --git a/testcases/kernel/include/microblaze.in

[LTP] [PATCH 05/10] uclinux doens't use remap_file_page

2009-02-25 Thread michal . simek
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/syscalls/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/syscalls/Makefile b/testcases/kernel/syscalls/Makefile index eed2f6c..15b5a56

[LTP] [PATCH 04/10] fix uclinux build

2009-02-25 Thread michal . simek
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/syscalls/kill/kill05.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/kernel/syscalls/kill/kill05.c b/testcases/kernel/syscalls/kill/kill05.c index

Re: [LTP] [PATCH] Add Freezer Controller Testcases

2009-02-25 Thread Serge E. Hallyn
Quoting Matt Helsley (matth...@us.ibm.com): * Sample usage: $ mkdir /containers $ mount -t cgroup -ofreezer freezer /containers $ mkdir /containers/0 $ echo $some_pid /containers/0/tasks $ cat /containers/0/tasks/freezer.state THAWED $ echo FROZEN

Re: [LTP] LTP-20090131: gcc/g++ and Aio-uclibc issues

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 04:38:03 Francesco RUNDO wrote: 1) I found some instructions on some LTP Makefiles reporting direct calls to gcc or g++ instead of using the related env. variables $(CC) and/or $(CXX). The usage of gcc/g++ hardcoded, didn't allow to cross-build the related LTP

Re: [LTP] [PATCH 01/10] Add microblaze support for linux_syscall_number.h

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 10:53:29 michal.si...@petalogix.com wrote: --- testcases/kernel/include/order |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/include/microblaze.in --- a/testcases/kernel/include/order +++

Re: [LTP] [SMACK] Simplified Mandatory Access Control test cases

2009-02-25 Thread Casey Schaufler
Subrata Modak wrote: Hi Casey, Thanks for these tests. However there are some comments below: 1) There is a little bit of lack of documentation. Can you please attach atleast a README, which tells how to run the tests. After: make I was not sure which script to invoke to run all the

[LTP] [RFC][PATCH] containers: Remove capability dependency

2009-02-25 Thread Matt Helsley
Review of these test source files suggests that absolutley no capability APIs are in use. I suspect these #ifdefs were added because the original tests had unnecessarily included sys/capability.h Signed-off-by: Matt Helsley matth...@us.ibm.com --- testcases/kernel/containers/pidns/pidns14.c |

[LTP] [PATCH 07/10] fix return(1) - return 1

2009-02-25 Thread michal . simke
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/fs/inode/inode02.c|2 +- testcases/kernel/fs/scsi/ltpfs/main.c |2 +- testcases/kernel/fs/scsi/ltpscsi/scsimain.c|2 +-

[LTP] [PATCH 08/10] Fix return(NULL) - return NULL

2009-02-25 Thread michal . simke
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/fs/doio/doio.c |2 +- testcases/kernel/syscalls/sigrelse/sigrelse01.c |4 ++-- testcases/kernel/syscalls/symlink/symlink01.c |2 +- 3 files changed, 4

[LTP] [PATCH 05/10] uclinux doens't use remap_file_page

2009-02-25 Thread michal . simke
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/syscalls/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/syscalls/Makefile b/testcases/kernel/syscalls/Makefile index eed2f6c..15b5a56

[LTP] [PATCH 01/10] Add microblaze support for linux_syscall_number.h

2009-02-25 Thread michal . simke
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/include/order |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/include/microblaze.in diff --git a/testcases/kernel/include/microblaze.in

[LTP] [PATCH 02/10] uclinux: It is necessary to compile include to because of

2009-02-25 Thread michal . simke
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/Makefile |2 +- testcases/kernel/include/Makefile |3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile

[LTP] [PATCH 04/10] fix uclinux build

2009-02-25 Thread michal . simke
From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- testcases/kernel/syscalls/kill/kill05.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/kernel/syscalls/kill/kill05.c b/testcases/kernel/syscalls/kill/kill05.c index

[LTP] [PATCH] Fix spelling and grammar nits

2009-02-25 Thread Matt Helsley
Fix spelling and grammar nits. Signed-off-by: Matt Helsley matth...@us.ibm.com --- runltp|2 +- testcases/commands/gzip/gzip_tests.sh |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: ltp/testcases/commands/gzip/gzip_tests.sh

[LTP] [RFC][PATCH] Update unzip command test: build and run successfully without unzip

2009-02-25 Thread Matt Helsley
Suprisingly, not every Linux distribution comes with unzip installed. Thankfully unzip does not appear to be needed for any other tests. This patch cleans up the unzip test so that if zip or unzip does not exist the test will not be built or run. This patch changes the way the build and run

Re: [LTP] LTP-20090131: gcc/g++ and Aio-uclibc issues

2009-02-25 Thread Subrata Modak
Hi, On Wed, 2009-02-25 at 10:38 +0100, Francesco RUNDO wrote: Hi, I'm a user of LTP. I use LTP for testing SH based Linux kernel for our embedded systems. I'm using a kernel 2.6.23. I've downloaded latest LTP release: ltp-full-20090131.tgz. I've found the following issues: 1) I