Git Log


Commit Date  
[273e46] by Anders Roxell Anders Roxell , pushed by Wanlong Gao Wanlong Gao

Remove reference to "java", missed in commit 78596957

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-08-06 01:08:56 Tree
[45929d] by Anders Roxell Anders Roxell , pushed by Wanlong Gao Wanlong Gao

realtime: only build tests if needed

stand alone run scripts can not build from the installed directory.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-08-06 01:08:56 Tree
[860517] by Anders Roxell Anders Roxell , pushed by Wanlong Gao Wanlong Gao

realtime tests: created Makefiles for profiles/scripts

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-08-06 01:08:56 Tree
[56ffde] by Anders Roxell Anders Roxell , pushed by Wanlong Gao Wanlong Gao

realtime tests: added additional install targets

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-08-06 01:08:56 Tree
[871b7d] by Anders Roxell Anders Roxell , pushed by Wanlong Gao Wanlong Gao

added run_auto.sh to install targets for realtime tests

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-08-06 01:08:56 Tree
[d6ea0a] by Anders Roxell Anders Roxell , pushed by Wanlong Gao Wanlong Gao

realtime/(func|perf)/: rename run.sh to run_auto.sh

Rename run.sh to run_auto.sh in accordance to all other func tests and
remove unnecessary whitespaces newlines at the end of file to prevent git
am warning.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-08-06 01:08:56 Tree
[fc4166] by Cyril Hrubis Cyril Hrubis

usctest.h: Remove dumbious _USC_LIB_ ifdefs.

This is overcomplicated without a reason and causes build failures due
to missing symbols on uClinux.

Also remove all _USC_LIB_ defines and referencies.

Reported-by: Benoit Marcot <Benoit.Marcot@arm.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-08-05 12:26:08 Tree
[9c8c88] by Cyril Hrubis Cyril Hrubis

usctest.h: Cleanup.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-08-05 11:53:55 Tree
[e94c67] by Cyril Hrubis Cyril Hrubis

Revert "lib/tst_kvercmp: fixed a compiling error"

This reverts commit 793ba8a8f6fbf024ff64b88f2669e75a3f5e1e94.

It's no longer needed after the tests were fixed.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>

2013-08-01 14:25:25 Tree
[6af247] by Cyril Hrubis Cyril Hrubis

containers: Add TCID to sources compiled with -lltp

These are using bunch of libltp interfaces allready from which some
possibly calls tst_brkm() or tst_res(). I wonder why this wasn't problem
before.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>

2013-08-01 14:24:33 Tree
[94469b] by DAN LI DAN LI , pushed by Wanlong Gao Wanlong Gao

mount/mount06.c: fix a compile error

The definitions of MS_PRIVATE and MS_MOVE were only added to glibc headers
in version 2.12.

If there are no definitions of these two flags, make it.

Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-31 02:02:04 Tree
[e323ed] by Wanlong Gao Wanlong Gao

lib: fix a NULL pointer caused error

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-23 11:42:48 Tree
[793ba8] by Zhouping Liu Zhouping Liu , pushed by Wanlong Gao Wanlong Gao

lib/tst_kvercmp: fixed a compiling error

commit 18f7be7eb introduced the following compiling error:

make[1]: Leaving directory `/mnt/tests/kernel/distribution/ltp/git_test/ltp/testcases/kernel/containers/libclone'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../../../include -I../../../include -L../../../lib check_for_unshare.c -ldl -lltp -o check_for_unshare
check_for_unshare.c: In function ‘main’:
check_for_unshare.c:35:8: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
void *ret;
^
../../../lib/libltp.a(tst_res.o): In function `cat_file':
/mnt/tests/kernel/distribution/ltp/git_test/ltp/lib/tst_res.c:777: undefined reference to `TCID'
/mnt/tests/kernel/distribution/ltp/git_test/ltp/lib/tst_res.c:787: undefined reference to `TCID'
/mnt/tests/kernel/distribution/ltp/git_test/ltp/lib/tst_res.c:795: undefined reference to `TCID'
../../../lib/libltp.a(tst_res.o): In function `tst_res':
/mnt/tests/kernel/distribution/ltp/git_test/ltp/lib/tst_res.c:301: undefined reference to `TCID'
/mnt/tests/kernel/distribution/ltp/git_test/ltp/lib/tst_res.c:317: undefined reference to `TCID'
../../../lib/libltp.a(tst_res.o):/mnt/tests/kernel/distribution/ltp/git_test/ltp/lib/tst_res.c:370: more undefined references to `TCID' follow
collect2: error: ld returned 1 exit status
make: *** [check_for_unshare] Error 1

that's because commit 18f7be7eb used LTP lib function tst_resm(), using printf() instead can avoid it.

Signed-off-by: Zhouping Liu <zliu@redhat.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-23 11:42:17 Tree
[a6306a] by Garrett Cooper Garrett Cooper

Merge remote-tracking branch 'upstream/master'

2013-07-22 14:57:08 Tree
[6582c3] by DAN LI DAN LI , pushed by Wanlong Gao Wanlong Gao

mount/mount06.c: new case to test MS_MOVE of mount

Create new test case "mount06.c" for MS_MOVE of mount.

Checking if file is visible from the new location after move mount.

Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-17 13:28:23 Tree
[387cd1] by Wanlong Gao Wanlong Gao

inotify04: add RHEL5 extra kernel version check

Since kernel 2.6.18-132.el5, inotify start to send IN_ATTRIB event
on link count changes, so we check that kernel version on RHEL5.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-17 00:55:31 Tree
[18f7be] by Wanlong Gao Wanlong Gao

lib: let tst_kvercmp2() contains major kernel version

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-17 00:55:31 Tree
[bc914a] by Jan Stancek Jan Stancek , pushed by Wanlong Gao Wanlong Gao

kernel/firmware: always build userspace bits

Because this testcase is listed in runtest files, we should
always build userspace bits, so that ltp has something to run.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Jan Stancek <jstancek@redhat.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>

2013-07-17 00:54:48 Tree
[4a7d97] by DAN LI DAN LI , pushed by Cyril Hrubis Cyril Hrubis

inotify/inotify03.c: cleanup a parameter-passing error

1. Revise code to follow ltp-code-style

2. Fix a bad parameter-passing which causes mount(2) "EINVAL"

Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-07-16 13:03:45 Tree
[ce160a] by Jungsoo Son Jungsoo Son , pushed by Cyril Hrubis Cyril Hrubis

Fix the bug of the temp-files removing

The shell command to remove all the temp-files created had a bug that
try to remove /dev/null. If the ltp is run with root permission the
/dev/null will be removed.

Signed-off-by: jungsoo.son <jungsoo.son@lge.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-07-16 12:49:26 Tree
[d0a43a] by Xie Lingyun Xie Lingyun , pushed by Wanlong Gao Wanlong Gao

xinetd/xinetd_tests.sh: add IPv6 test for xinetd

If IPv6 is enabled, telnet ::1 will be tested. Otherwise, IPv4 only.
The IPv6 test will be executed first and give a separate result.

Signed-off-by: Xie Lingyun <lingyun.xie@bj.cs2c.com.cn>
Reviewed-by: Caspar Zhang <caspar@casparzhang.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-12 00:45:18 Tree
[3db865] by Xie Lingyun Xie Lingyun , pushed by Wanlong Gao Wanlong Gao

xinetd/xinetd_tests.sh: clean up tabs

replace tabs with 4 spaces.
The echo <<-EOF lines become no indentation.

Signed-off-by: Xie Lingyun <lingyun.xie@bj.cs2c.com.cn>
Reviewed-by: Caspar Zhang <caspar@casparzhang.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-12 00:45:18 Tree
[be022f] by Wanlong Gao Wanlong Gao

kmsg01: fix test failure caused by not compiling it

We didn't compile and install this case, so this case will
fail by "No such file":

initiation_status="pan(26250): execvp of 'kmsg01' (tag kmsg01) failed. errno:2 No such file or directory"

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Reviewed-by: Jan Stancek <jstancek@redhat.com>

2013-07-12 00:42:35 Tree
[d65102] by Cyril Hrubis Cyril Hrubis

kernel/firmware: Make use of SAFE_ASPRINTF()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-07-11 16:03:38 Tree
[e39f5a] by Cyril Hrubis Cyril Hrubis

lib/safe_macros: Split and add SAFE_ASPRINTF()

Split the safe macros into safe_macros.h and safe_stdio.h as the safe
macros header started to be too big. There is also second reason for the
split, as asprintf() requires _GNU_SOURCE defined so this helps keep the
definition only inside of the safe_stdio.c file which affects only
functions in the file and has easily foreseeable effects.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-07-11 16:00:35 Tree
Older >