[LTP] [PATCH v2] controllers/cpuacct: add cpuacct tests to default and somecleanup

2014-05-29 Thread Zeng Linggang
* Change the entry like: cpuacct01 run_cpuacct_test.sh 1 cpuacct02 run_cpuacct_test.sh 2 * Add cpuacct tests to scenario_groups/default * Add umount_cpuacct_mounted function for umount cpuacct mounted * Make use of tst_require_root, exists and tst_resm * Some cleanup Signed-off

[LTP] [PATCH v2] kernel/syscalls: fix wrong fork_flag passed to tst_sig()

2014-05-29 Thread Xiaoguang Wang
Many test cases pass FORK flag to tst_sig() though they do not do fork() at all, fix these. --- testcases/kernel/syscalls/access/access01.c | 2 +- testcases/kernel/syscalls/asyncio/asyncio02.c | 2 +- testcases/kernel/syscalls/chmod/chmod06.c

Re: [LTP] Need help in cross compiling LTP for android

2014-05-29 Thread meena
Thanks, Cyril Hrubis writes: > > Hi! > > + > /u/ltp/android-ndk-r7b/toolchains/arm-linux-androideabi- 4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc > -march=armv7-a -mtune=xscale -msoft-float -fpic -mthumb-interwork - ffunction-sections > -funwind-tables -fstack-protector -fno-short-en

Re: [LTP] [PATCH 2/2-updated] syscalls/fstatfs02: Using temporary file description to test the syscall

2014-05-29 Thread chrubis
Hi! > > It does not make sense to use stdout as the file description to test the > > system call fstatfs().We may get unexpected result(i.e. > > errno=38:Function not implemented) if redirect stdout when running ltp. > > Using ltp temporary file instead. > > > > Signed-off-by: Shuang Qiu > > The

[LTP] ltp for android

2014-05-29 Thread Asha Gowda
Hi , I am able to cross compile for android but not able to execute it on android platform. I if execute any of the binaries i am getting " no such file or directory" I checked that the issue with dynamic linker : readelf --program Elf file type is EXEC (Executable file) Entry point 0x87e8 There

Re: [LTP] [PATCH v3] partrt_nohz_full: Introducing a new test case

2014-05-29 Thread chrubis
Hi! > Ping? Sorry it takes that long, you are in the queue, I should get to the patch either today, the worstcase should be on Monday. -- Cyril Hrubis chru...@suse.cz -- Time is money. Stop wasting it! Get your web API

Re: [LTP] [PATCH] setpriority/setpriority01.c: cleanup

2014-05-29 Thread chrubis
Hi! > * Delete some useless commtents. > * Move the test body from main() to setpriority_verify(). > * Expand tests([-20,19]). > * Add tst_require_root for lowering priorities testes. > * Some cleanup. > > Signed-off-by: Zeng Linggang Pushed, thanks. -- Cyril Hrubis chru...@suse.cz --

Re: [LTP] Sendfile01 : mc_gethost argument

2014-05-29 Thread chrubis
Hi! Pushed, thanks. -- Cyril Hrubis chru...@suse.cz -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ L

Re: [LTP] Reg: sendfile01_server

2014-05-29 Thread chrubis
Hi! Pushed, thanks. -- Cyril Hrubis chru...@suse.cz -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ L

Re: [LTP] [PATCH v3] direct_io/dma_thread_diotest7.c: cleanup and add it to run default

2014-05-29 Thread chrubis
Hi! > This test will create 100 files(every is 12MB), so the total needed free > space is > 1200MB at least. If the current test temporary directory do not satisfy this > requirement, wo need to specify a big block device by running runltp with -z > option. > If satisfied, we also need to check w

[LTP] [PATCH 1/2] statvfs/statvfs01.c: cleanup

2014-05-29 Thread Zeng Linggang
* Delete some useless commtents. * Some cleanup. Signed-off-by: Zeng Linggang --- testcases/kernel/syscalls/statvfs/statvfs01.c | 49 +++ 1 file changed, 12 insertions(+), 37 deletions(-) diff --git a/testcases/kernel/syscalls/statvfs/statvfs01.c b/testcases/kernel/sys

[LTP] [PATCH 2/2] statvfs/statvfs02.c: add new errno testes

2014-05-29 Thread Zeng Linggang
* Add new errno testes for statvfs(2) - EFAULT - ELOOP - ENAMETOOLONG - ENOENT - ENOTDIR Signed-off-by: Zeng Linggang --- runtest/ltplite | 1 + runtest/stress.part3 | 1 + runtest/syscalls | 1 +