Re: [LTP] [Openhpi-devel] [PATCH] Cross-compile configure bug

2009-08-26 Thread Ric White
I really like Shuah's idea for a configuration parameter to allow this. Garrett, could you try the attached patch and let us know if it works for you? If you call configure with a --enable-non32bit-int parameter now, a warning message will be generated and the build will be allowed on targets wher

Re: [LTP] [PATCH] Add new testcases for cgroup

2009-08-26 Thread Shi Weihua
Matt Helsley wrote: > On Wed, Aug 26, 2009 at 08:04:53AM +0800, Shi Weihua wrote: >> We has created some testcases for cgroup in the last year. >> There are total 194 testcases that have been added. These testcases contain >> the basis operation test, part functionality test and stress test of cg

Re: [LTP] [PATCH] su01: Yellow Dog Linux doesn't support passwd -e

2009-08-26 Thread Mike Frysinger
On Wednesday 26 August 2009 11:20:44 Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > Is there any better way to handle this?? change it to: if passwd -h | grep -q -e '--expire\>' ; then -mike signature.asc Description: This is a digitally signed message part. -

Re: [LTP] [PATCH] LTP must be extracted to an accessible location

2009-08-26 Thread Mike Frysinger
On Wednesday 26 August 2009 10:51:29 Geert Uytterhoeven wrote: > --- a/INSTALL > +++ b/INSTALL > @@ -67,6 +67,9 @@ contributions are welcome. > 2. Untar the ltp tarball into a spare directory. There is not a > standard location for it yet. We put it in our home directory > while we're wo

Re: [LTP] fix for file_test for systems without rpm installed

2009-08-26 Thread Paul Larson
Geert Uytterhoeven wrote: > On Wed, 19 Aug 2009, Paul Larson wrote: >> Here's the fixed version, forgot I needed to redo these... >> >> If you run file_test.sh on a system without rpm installed, it should >> return tconf instead of tfail. >> >> Signed-off-by: Paul Larson >> --- > >> index 4fc9dec

Re: [LTP] Bug in memory controller test - memctl test #4 - PATCH repost

2009-08-26 Thread Mike Gahagan
On 08/25/2009 05:58 AM, Subrata Modak wrote: On Mon, 2009-08-24 at 14:32 -0400, Mike Gahagan wrote: When running the Memory Controller test # 4, I'm seeing this behavior below. TEST 4: MEMORY CONTROLLER TESTING RUNNING SETUP. TEST STARTED: Please avoid using system while this test executes

Re: [LTP] fix for file_test for systems without rpm installed

2009-08-26 Thread Geert Uytterhoeven
On Wed, 19 Aug 2009, Paul Larson wrote: > Here's the fixed version, forgot I needed to redo these... > > If you run file_test.sh on a system without rpm installed, it should > return tconf instead of tfail. > > Signed-off-by: Paul Larson > --- > index 4fc9dec..4e30d43 100755 > --- a/testcases/c

Re: [LTP] [PATCH] Add new testcases for cgroup

2009-08-26 Thread Matt Helsley
On Wed, Aug 26, 2009 at 08:04:53AM +0800, Shi Weihua wrote: > We has created some testcases for cgroup in the last year. > There are total 194 testcases that have been added. These testcases contain > the basis operation test, part functionality test and stress test of cgroup. > > How to run thi

[LTP] [PATCH] su01: Yellow Dog Linux doesn't support passwd -e

2009-08-26 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- Is there any better way to handle this?? testcases/commands/su/su01_s1 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/commands/su/su01_s1 b/testcases/commands/su/su01_s1 index 2fba82b..b676f84 100755 --- a/testcases/comma

[LTP] [PATCH] LTP must be extracted to an accessible location

2009-08-26 Thread Geert Uytterhoeven
If extracted to /root and /root has permissions 750, the following tests will fail: - cron02: bash: /root/ltp-cvs/testcases/bin/cron_pos_tests.sh: Permission denied - cron_allow01: bash: /root/ltp-cvs/testcases/bin/cron_allow01: Permission denied bash: /root/ltp-cvs/testcases/bi

[LTP] [PATCH] Spelling fixes: initalization => initialization

2009-08-26 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- testcases/network/nfsv4/locks/locktests.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/network/nfsv4/locks/locktests.c b/testcases/network/nfsv4/locks/locktests.c index 3268733..38b2e9d 100644 --- a/testcases/network/nf

[LTP] [PATCH] Spelling fixes: excute => execute

2009-08-26 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- .../sched/hyperthreading/ht_affinity/HTaffinity.c |2 +- .../sched/hyperthreading/ht_enabled/HTenabled.c|2 +- .../hyperthreading/ht_interrupt/HTinterrupt.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/

Re: [LTP] undefined macro: _m4_divert_diversion

2009-08-26 Thread Subrata Modak
On Wed, 2009-08-26 at 15:25 +0200, Geert Uytterhoeven wrote: > On Wed, 26 Aug 2009, Nicolas Joly wrote: > > On Wed, Aug 26, 2009 at 02:57:10PM +0200, Geert Uytterhoeven wrote: > > > When trying to autoconfigure current LTP on YDL, I get: > > > > > > # make autotools > > > touch config.mk

Re: [LTP] undefined macro: _m4_divert_diversion

2009-08-26 Thread Geert Uytterhoeven
On Wed, 26 Aug 2009, Nicolas Joly wrote: > On Wed, Aug 26, 2009 at 02:57:10PM +0200, Geert Uytterhoeven wrote: > > When trying to autoconfigure current LTP on YDL, I get: > > > > # make autotools > > touch config.mk > > aclocal -I m4 > > m4/ltp-unshare.m4:2: error: m4_defn: undefi

Re: [LTP] undefined macro: _m4_divert_diversion

2009-08-26 Thread Nicolas Joly
On Wed, Aug 26, 2009 at 02:57:10PM +0200, Geert Uytterhoeven wrote: > When trying to autoconfigure current LTP on YDL, I get: > > # make autotools > touch config.mk > aclocal -I m4 > m4/ltp-unshare.m4:2: error: m4_defn: undefined macro: _m4_divert_diversion > m4/ltp-unshare.m4

[LTP] undefined macro: _m4_divert_diversion

2009-08-26 Thread Geert Uytterhoeven
When trying to autoconfigure current LTP on YDL, I get: # make autotools touch config.mk aclocal -I m4 m4/ltp-unshare.m4:2: error: m4_defn: undefined macro: _m4_divert_diversion m4/ltp-unshare.m4:2: the top level autom4te: /usr/local/bin/m4 failed with exit status: 1 a

Re: [LTP] [PATCH 00/02] Integrate Valgrind Memory Check Tool to LTP

2009-08-26 Thread Subrata Modak
On Tue, 2009-08-25 at 19:09 -0700, Garrett Cooper wrote: > On Tue, Aug 25, 2009 at 2:22 PM, Paul Larson wrote: > > Subrata Modak wrote: > > > >>> really just to "test the tests", would it make sense to put it under > >>> /scratch or /testscripts as a separate script, rather than just include > >>>

Re: [LTP] [PATCH 00/02] Integrate Valgrind Memory Check Tool to LTP

2009-08-26 Thread Subrata Modak
On Mon, 2009-08-24 at 15:02 +0530, Subrata Modak wrote: > Hi, > > Introducing and Integrating the Valgrind Memory Leak Check tools to LTP. Now in LTP. Regards-- Subrata > This again is in line with the OLS 2009 paper where we proposed that > memory leak check for LTP test cases will become par