Git Log


Commit Date  
[07acb1] by Cyril Hrubis Cyril Hrubis

scenario_groups/default: Add kernel_misc

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

2013-07-01 17:22:50 Tree
[4bc55e] by Alexey Kodanev Alexey Kodanev , pushed by Wanlong Gao Wanlong Gao

lib: tst_run_cmd: add tst_run_cmd() to exec specified program

vfork() + execvp() specified program.

Acked-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Caspar Zhang <caspar@casparzhang.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>

2013-06-27 14:52:22 Tree
[8bcc07] by Wanlong Gao Wanlong Gao

aio02: remove test for IO_fsync() and IO_fdsync()

Linux filesystems doesn't support IO_fsync() and IO_fdsync()
operations, so just remove test for these two.

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

2013-06-28 00:51:17 Tree
[147ed8] by Alexey Kodanev Alexey Kodanev , pushed by Wanlong Gao Wanlong Gao

lib: tst_module: add library functions for kernel modules

There are new functions: tst_module_exists(), tst_module_load() and
tst_module_unload(). These functions help to load and unload kernel
modules in the tests.

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Caspar Zhang <caspar@casparzhang.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

2013-07-01 08:42:39 Tree
[e70762] by Sedat Dilek Sedat Dilek , pushed by Cyril Hrubis Cyril Hrubis

runtest: Add new syscalls-ipc test-suite

Run via './runltp -f syscalls-ipc'.

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>

2013-06-26 01:02:51 Tree
[3ca287] by Wanlong Gao Wanlong Gao , pushed by Cyril Hrubis Cyril Hrubis

sendfile08: disable this test on kernel less than 2.6.33

After kernel commit cc56f7d, sendfile(2) can support any file refered
"out_fd" instead of only socket.
Since this test for general file refered "out_fd", so we disable this
test on the kernel less than 2.6.33.

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

2013-06-26 01:30:29 Tree
[312355] by Cyril Hrubis Cyril Hrubis

testcases/kernel/syscalls Add mmap13 to .gitignore

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

2013-06-26 12:58:30 Tree
[06f9fe] by Cyril Hrubis Cyril Hrubis

include: Move a few more defs to private header.

TOUT_* constants used in tst_res.c
USC_* constants used in parse_opts.c

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

2013-06-26 12:55:48 Tree
[5f8441] by Cyril Hrubis Cyril Hrubis

include: Remove unused _SC_CRAY_SYSTEM.

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

2013-06-26 12:54:37 Tree
[812521] by Cyril Hrubis Cyril Hrubis

lib, include: Move TEMPDIR to private header.

The test code should not use this env variable at all.

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

2013-06-25 16:23:06 Tree
[2aabae] by Cyril Hrubis Cyril Hrubis

syscalls/pipe07: Rewrite.

* Remove useless comments & usuall stuff.

* Get rid of the ugly system() and use readdir()
to count number of open files.

(and remove the ugly hacks to create temp dirs
that are no longer needed)

* Close the pipes after the test has finished
so that test looping works

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

2013-06-25 17:15:40 Tree
[69b772] by Cyril Hrubis Cyril Hrubis

lib, include: Remove all references to TDIRECTORY.

It was not used at all TMPDIR is correct name for the env variable.

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

2013-06-25 16:10:29 Tree
[b88fa5] by Cyril Hrubis Cyril Hrubis

runltp: Fix bashism

Remove several occurences of '&> /dev/null' that breaks the script
execution under dash.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>

2013-06-25 13:50:08 Tree
[bcf24e] by Wanlong Gao Wanlong Gao , pushed by Cyril Hrubis Cyril Hrubis

getrusage03: disable the test when kernel before 2.6.32

Kernel commit 1f10206c is first introduced in 2.6.32, this
ru_maxrss behaviors will not be supported before kernel 2.6.32,
so disable the test when kernel version is before 2.6.32.

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

2013-06-25 01:33:50 Tree
[a0e618] by Jan Stancek Jan Stancek

new testcase: kmsg01

Test /dev/kmsg based on kernel doc: Documentation/ABI/testing/dev-kmsg
- read() blocks
- non-blocking read() fails with EAGAIN
- partial read fails (buffer smaller than message)
- can write to /dev/kmsg and message seqno grows
- first read() after open() returns same message
- if messages get overwritten, read() returns -EPIPE
- device supports SEEK_SET, SEEK_END, SEEK_DATA

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Cyril Hrubis <chrubis@suse.cz>

2013-06-07 09:09:26 Tree
[60c6ce] by Eryu Guan Eryu Guan , pushed by Cyril Hrubis Cyril Hrubis

dup2/dup205: close all fds before tst_rmdir()

Close all open fds before calling tst_rmdir() to avoid TWARN caused by
NFS silly rename when removing temp dir.

dup205 0 TWARN : tst_rmdir: rmobj(/mnt/nfs/dupbA5J5i) failed: unlink(/mnt/nfs/dupbA5J5i/.nfs0000000000f4805b00000005) failed; errno=16: Device or resource busy

Signed-off-by: Eryu Guan <eguan@redhat.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Caspar Zhang <caspar@casparzhang.com>

2013-06-24 15:49:43 Tree
[ed69cd] by Cyril Hrubis Cyril Hrubis

lib: Add lib/ltp_priv.h header for internal API.

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

2013-06-24 15:51:00 Tree
[8329ed] by DAN LI DAN LI , pushed by Cyril Hrubis Cyril Hrubis

mmap/mmap13.c: new case to test SIGBUS error of mmap

Test SIGBUS error by accessing to a portion of the buffer that does not
correspond to the file.

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

2013-06-24 08:03:57 Tree
[d2085c] by Cyril Hrubis Cyril Hrubis

lib: safe_macros: Add SAFE_FOPEN(), SAFE_FCLOSE()

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

2013-06-18 12:47:19 Tree
[208669] by Alexey Kodanev Alexey Kodanev , pushed by Cyril Hrubis Cyril Hrubis

prot_hsymlinks & cgroup_xattr: fix copyright header

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>

2013-06-11 09:56:10 Tree
[e0cbe7] by Jungsoo Son Jungsoo Son , pushed by Wanlong Gao Wanlong Gao

syscalls/chown01: Fix test file creation

There is a bug in the code to create the file and the code is
very intricate. So replace it with SAFE_FILE_PRINTF().

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

2013-06-08 02:54:26 Tree
[8a575d] by Cyril Hrubis Cyril Hrubis

syscalls/chmod02: Fix test file creation + cleanup

1. Cleanup the code, remove useless comments.

2. The code to create the file is broken and overly complicated,
replace it with SAFE_FILE_PRINTF().

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

2013-06-05 15:28:11 Tree
[ec22fb] by Cyril Hrubis Cyril Hrubis

syscalls/mmap: Remove check for getpagesize() < 0

1. The getpagesize() never fails

2. The condition is always false due to conversion
to unsigned size_t

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

2013-06-04 18:37:05 Tree
[5efee3] by Cyril Hrubis Cyril Hrubis

syscalls/mmap: Cleanups.

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

2013-06-04 18:14:58 Tree
[82ddd5] by Cyril Hrubis Cyril Hrubis

fs/ftest{04,08}: Remove unused allocated buffer.

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

2013-06-04 17:33:07 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks