History log of /external/ltp/testcases/kernel/syscalls/setpgid/setpgid03_child.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9f136a48c6205362cd8d35c726491ca93cb16514 17-Feb-2015 Cyril Hrubis <chrubis@suse.cz> lib: Rewrite checkpoint synchronization

* Rewrite checkpoint synchronization (based on futexes now)

* Fix all testcases to use the new interface

* Update docs

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/setpgid/setpgid03_child.c
9bae4a4c3b2c3969a24c2e5c8fdf655ab2480a6a 06-Oct-2014 Jan Stancek <jstancek@redhat.com> checkpoints: fix usage in children started via exec

creat07 and setpgid03 are currently failing in following way:
CHILD: Failed to open fifo '': No such file or directory at creat07_child.c:31
creat07 1 TBROK : tst_checkpoint.c:126: Checkpoint timeouted after 5000 msecs at creat07.c:78
creat07 2 TBROK : tst_checkpoint.c:126: Remaining cases broken

These testcases start children via exec, so only initialize
checkpoint struct, FIFO has been already created by parent.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/setpgid/setpgid03_child.c
52167a1eb08841f53952854657f61d86cc493995 12-Dec-2013 Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> setpgid03: use tst_checkpoint interface

I came accross the following rare issue:

setpgid03 1 TPASS : setpgid SUCCESS to set errno to EPERM
setpgid03 2 TFAIL : setpgid FAILED, expect EACCES got 1

I suppose it may happen if the test host is under stress.

To prevent this it would be better to use tst_checkpoint interface
for parent-child synchronisations.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
/external/ltp/testcases/kernel/syscalls/setpgid/setpgid03_child.c