[LTP] How can I analyse the LTP result

2014-11-26 Thread Troy-lee
Dear all: I just run the runalltests.sh,and now there is some error. but I don't know how to analyse the log file. Is any primer? Could you help me?‍-- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from

Re: [LTP] recvfrom01: fix test for invalid message flags

2014-11-26 Thread Cyril Hrubis
Hi! > Sorry for the delay, acked, tested and pushed, thanks. > > Will you also send similar patches for the rest of the recv testcases? FYI: I've fixex recvmsg01 and recv01 as well. Again, sorry for the delay. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] Need help to run LTP on Android

2014-11-26 Thread Cyril Hrubis
Hi! > root@kanas:/data/ltp # ./runltp -p -l test.log -o test.log -d /data/ltp/tmp > > ./runltp -p -l test.log -o test.log -d /data/ltp/tmp > > ./runltp[999]: basename: not found This error tells you that basename command was not found by your shell. Likely you are missing some package. -- C

Re: [LTP] recvfrom01: fix test for invalid message flags

2014-11-26 Thread Chuck Ebbert
On Wed, 26 Nov 2014 12:38:37 +0100 Cyril Hrubis wrote: > Hi! > > Sorry for the delay, acked, tested and pushed, thanks. > > > > Will you also send similar patches for the rest of the recv testcases? > > FYI: I've fixex recvmsg01 and recv01 as well. Again, sorry for the > delay. > Thanks for d

Re: [LTP] NUMA system and get_a_numa_node()

2014-11-26 Thread Cyril Hrubis
Hi! > We have a system which only has one NUMA node. When trying to run ksm02 > on it, becase the code calling get_allowed_nodes() with a count 2 as > below: > > 972 /* Warning: *DO NOT* use this function in child */ > 973 unsigned int get_a_numa_node(void (*cleanup_fn) (void)) > 974 {

Re: [LTP] How can I analyse the LTP result

2014-11-26 Thread Cyril Hrubis
Hi! > Dear all: > I just run the runalltests.sh,and now there is some error. but I don't know > how to analyse the log file. Is any primer? Could you help me For such vague question I can only say, have look at the script output and figure out what went wrong. If you don't share more details

[LTP] [PATCH] network/dhcpd: improve testcase, use dummy module

2014-11-26 Thread Alexey Kodanev
Run dhcp client and check that the interface configured as expected. Signed-off-by: Alexey Kodanev --- testcases/network/dhcpd/dhcpd_tests.sh | 148 +--- 1 files changed, 98 insertions(+), 50 deletions(-) diff --git a/testcases/network/dhcpd/dhcpd_tests.sh b/testca

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

2014-11-26 Thread Cyril Hrubis
Hi! > The new version of partrt has a tool named "bitcalc", which performs > those nasty bit calculations in a C application instead of an ugly Bash > script. This made the partrt dash compatible, and also got rid of > list2mask script. > > So the new tool names are: > - partrt > - bitcalc > - cou

Re: [LTP] [PATCH] /vm/hugepage/thp/thp05: cleanup should not use safe macros

2014-11-26 Thread Cyril Hrubis
Hi! > > What should be done in this case is to create an equivalent to the > > SAFE_FILE_PRINTF() function that is not calling the tst_brkm() and > > > well, if create a new safe function/macro to replace use the SAFE_FILE_PRINTF > but not calling tst_brkm(), that's will be break the safe rule.

Re: [LTP] NUMA system and get_a_numa_node()

2014-11-26 Thread Han Pingtian
On Wed, Nov 26, 2014 at 01:53:36PM +0100, Cyril Hrubis wrote: > Hi! > > We have a system which only has one NUMA node. When trying to run ksm02 > > on it, becase the code calling get_allowed_nodes() with a count 2 as > > below: > > > > 972 /* Warning: *DO NOT* use this function in child */ > > 9

Re: [LTP] NUMA system and get_a_numa_node()

2014-11-26 Thread Wanlong Gao
On 11/27/2014 10:42 AM, Han Pingtian wrote: > On Wed, Nov 26, 2014 at 01:53:36PM +0100, Cyril Hrubis wrote: >> Hi! >>> We have a system which only has one NUMA node. When trying to run ksm02 >>> on it, becase the code calling get_allowed_nodes() with a count 2 as >>> below: >>> >>> 972 /* Warning:

Re: [LTP] NUMA system and get_a_numa_node()

2014-11-26 Thread Han Pingtian
On Thu, Nov 27, 2014 at 11:06:15AM +0800, Wanlong Gao wrote: > On 11/27/2014 10:42 AM, Han Pingtian wrote: > > On Wed, Nov 26, 2014 at 01:53:36PM +0100, Cyril Hrubis wrote: > >> Hi! > >>> We have a system which only has one NUMA node. When trying to run ksm02 > >>> on it, becase the code calling ge