[LTP] [PATCH] futex/futex_wake04.c: add kernel version check

2015-07-07 Thread Guangwen Feng
Compilation failed on RHEL5U11GA because the flag MAP_HUGETLB of mmap(2) are only available on kernels that are 2.6.32 or higher, therefore add kernel version check, as well as add mmap.h to define the flag in order to avoid compilation error. Signed-off-by: Guangwen Feng --- include/lapi/mmap.h

[LTP] [PATCH v2] commands/logrotate:run the case once again will failed

2015-07-07 Thread Cui Bixuan
Including the rules in /etc/logrotate.d/ will cause the case failed when run it at the second time. Signed-off-by: Alexey Kodanev Signed-off-by: Cui Bixuan --- testcases/commands/logrotate/logrotate_tests.sh |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/testcases/c

[LTP] getrandom compilation broken in RHEL5.11GA

2015-07-07 Thread Xiaoguang Wang
hello Jan, Cedric, When I compile ltp in RHEL5.11GA, I run into these errors: --- [root@RHEL5U11ga_Intel64 getrandom]# make make -C "/root/ltp/testcases/kernel/include" -f "/root/ltp/testcases/

Re: [LTP] getrandom compilation broken in RHEL5.11GA

2015-07-07 Thread Jan Stancek
- Original Message - > From: "Xiaoguang Wang" > To: "Jan Stancek" , "ced hnyda" > Cc: "LTP" > Sent: Tuesday, 7 July, 2015 12:43:59 PM > Subject: getrandom compilation broken in RHEL5.11GA > > hello Jan, Cedric, > > When I compile ltp in RHEL5.11GA, I run into these errors: >

Re: [LTP] getrandom compilation broken in RHEL5.11GA

2015-07-07 Thread Xiaoguang Wang
On 07/07/2015 07:13 PM, Jan Stancek wrote: > > > - Original Message - >> From: "Xiaoguang Wang" >> To: "Jan Stancek" , "ced hnyda" >> Cc: "LTP" >> Sent: Tuesday, 7 July, 2015 12:43:59 PM >> Subject: getrandom compilation broken in RHEL5.11GA >> >> hello Jan, Cedric, >> >> When I compil

[LTP] [Committed 2/2] network/vxlan_lib.sh: move netload() to test_net.sh

2015-07-07 Thread Alexey Kodanev
Signed-off-by: Alexey Kodanev --- testcases/lib/test_net.sh| 49 - testcases/network/vxlan/vxlan_lib.sh | 51 ++--- 2 files changed, 52 insertions(+), 48 deletions(-) diff --git a/testcases/lib/test_net.sh b/testcases/li

[LTP] [Committed 1/2] network/vxlan: change local safe_run to ROD_SILENT

2015-07-07 Thread Alexey Kodanev
Signed-off-by: Alexey Kodanev --- testcases/network/vxlan/vxlan01.sh |8 testcases/network/vxlan/vxlan02.sh |6 +++--- testcases/network/vxlan/vxlan_lib.sh | 28 ++-- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/testcases/network/