Re: [LTP] [PATCH v3] lib/tst_path_has_mnt_flags.c: create a function tst_path_has_mnt_flags()

2014-04-10 Thread gux.fnst
On 04/09/2014 06:34 PM, Jan Stancek wrote: - Original Message - From: "gux fnst" To: ltp-list@lists.sourceforge.net Sent: Wednesday, 9 April, 2014 5:46:34 AM Subject: [LTP] [PATCH v3] lib/tst_path_has_mnt_flags.c: create a function tst_path_has_mnt_flags() Create a function tst_pa

Re: [LTP] LTP Release

2014-04-10 Thread Alexey Kodanev
On 10.04.2014 20:52, chru...@suse.cz wrote: > Hi! > If nothing unexpected happens I would like to do a release at the end of > the next week. > > What that means for you? > > You should grab the latest git and make sure that it compiles and runs > fine. I've allready started with building latest gi

[LTP] LTP Release

2014-04-10 Thread chrubis
Hi! If nothing unexpected happens I would like to do a release at the end of the next week. What that means for you? You should grab the latest git and make sure that it compiles and runs fine. I've allready started with building latest git and found that we need a autoconf check for -Wold-style-

Re: [LTP] Fw:Re: [ltp] ltp / testscripts / ltpstress.sh #line 257 : error command format for sar (#10)

2014-04-10 Thread chrubis
Hi! > Attach the patch file for fix sar command error. > > > > "Cyril Hrubis" > ??2014-04-01 21:23:33 > linux-test-project/ltp > look > ??Re: [ltp] ltp / testscripts / ltpstress.sh #line 257 : error command > format for s

Re: [LTP] ltplite test case crashes

2014-04-10 Thread chrubis
Hi! > I tried out the test case ltplite just for fun, and it crashed. The > last part of it was: > > gf151 TPASS : Test passed > <<>> > initiation_status="ok" > duration=14 termination_type=exited termination_id=0 corefile=no > cutime=1249 cstime=115 > <<>> > <<>> > tag=gf17 stime=13971

[LTP] ltplite test case crashes

2014-04-10 Thread Mats Liljegren
Hi, I tried out the test case ltplite just for fun, and it crashed. The last part of it was: gf151 TPASS : Test passed <<>> initiation_status="ok" duration=14 termination_type=exited termination_id=0 corefile=no cutime=1249 cstime=115 <<>> <<>> tag=gf17 stime=1397150754 cmdline="growfi

Re: [LTP] [PATCH v7] network: tcp_fastopen: add TCP Fast Open test

2014-04-10 Thread chrubis
Hi! > +static int sock_recv_poll(int fd, char *buf, int buf_size, int *offset) > +{ > + struct pollfd pfd; > + pfd.fd = fd; > + pfd.events = POLLIN; > + int len = -1; > + while (1) { > + errno = 0; > + int ret = poll(&pfd, 1, wait_timeout / 1000); > +

Re: [LTP] [PATCH v2] pipeio/pipeio.c: cleanup

2014-04-10 Thread Jan Stancek
- Original Message - > From: "Xiaoguang Wang" > To: ltp-list@lists.sourceforge.net > Sent: Thursday, 10 April, 2014 11:34:44 AM > Subject: [LTP] [PATCH v2] pipeio/pipeio.c: cleanup > > Delete some useless comments and fix some. > > Use SAFE_* macros. > > Make a re-arrangement on ori

Re: [LTP] [PATCH 2/2] testcases/lib/misc.sh: add tst_fs_has_free function

2014-04-10 Thread chrubis
Hi! > Create misc.sh to place miscellaneous functions, which will be > useful for tests written in shell but do not have a proper place > to place. > > Currenly add tst_fs_has_free(), which will check if the mounted > file system has enough free space. > > Signed-off-by: Xiaoguang Wang Wouldn't

Re: [LTP] [PATCH 1/2] lib/tst_fs_has_free.c: add tst_fs_has_free() to determine filesystem's free space

2014-04-10 Thread chrubis
Hi! > +/* > + * Copyright (c) 2014 Fujitsu Ltd. > + * Author: Xiaoguang Wang > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of version 2 of the GNU General Public License as > + * published by the Free Software Foundation. > + * > + * This

Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error

2014-04-10 Thread Peter Oberparleiter
On 09.04.2014 15:04, shinto.j...@smartplayin.com wrote: > This got resolved when i tried this in KERNEL/mm/Makefile > > GCOV_PROFILE := n > > So basically some issue with KERNEL/mm/vmstat.gcno... right? If you don't need the coverage data for mm/* then this looks like a feasible workaround. > N

Re: [LTP] [Ltp-coverage] running LCOV/LTP on Beagle Bone Black - Cannot Allocate Memory Error

2014-04-10 Thread shinto . john
Hi Peter, This got resolved when i tried this in KERNEL/mm/Makefile GCOV_PROFILE := n So basically some issue with KERNEL/mm/vmstat.gcno... right? Now i am able to do a complete kernel run. Thanks & Regards, Shinto -Original Message- From: "Peter Oberparleiter" Sent: Wednesday,

Re: [LTP] [PATCH v2] pipeio/pipeio.c: cleanup

2014-04-10 Thread Xiaoguang Wang
Hi, This version2 is basically similar to the verson1, containing minor changes and detailed commit information. And I have compared the tests in runtest/pipes and the test results in RHEL7.0beta, RHEL6.5GA, RHEL5.10GA are the same between before and after this patch, thanks. Regards, Xiaoguang W

[LTP] [PATCH v2] pipeio/pipeio.c: cleanup

2014-04-10 Thread Xiaoguang Wang
Delete some useless comments and fix some. Use SAFE_* macros. Make a re-arrangement on original code: let parent process work in do_parent(), child process work in do_child(), and arguments parse and initialization work in setup(). Delete several useless or pointless options: Option C: this op