[PATCH v5 2/2] tests: add signal_receive.test

2016-06-15 Thread Fei Jie
* tests/signal_receive.c: New file. * tests/signal_receive.test: New test. * tests/.gitignore: Add signal_receive. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add signal_receive.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/signal_receive.c

Re: [PATCH v4 2/2] tests: add signal_receive.test

2016-06-15 Thread Fei , Jie/费 杰
Hello, Thanks for your advice, I've modified the patch to v5. On 06/15/2016 05:10 PM, Dmitry V. Levin wrote: On Wed, Jun 15, 2016 at 01:20:27PM +0800, Fei Jie wrote: * tests/signal_receive.c: New file. * tests/signal_receive.test: New test. * tests/.gitignore: Add signal_receive. *

[PATCH v5 1/2] tests: add signal2name function to libtests

2016-06-15 Thread Fei Jie
* tests/tests.h (signal2name): New prototype. * tests/signal2name.c: New file. * tests/Makefile.am (libtests_a_SOURCES): Add it. --- tests/Makefile.am | 1 + tests/signal2name.c | 55 + tests/tests.h | 3 +++ 3 files changed, 59 inserti

[PATCH v4 1/2] tests: add signal2name function to libtests

2016-06-14 Thread Fei Jie
* tests/tests.h (signal2name): New prototype. * tests/signal2name.c: New file. * tests/Makefile.am (libtests_a_SOURCES): Add it. --- tests/Makefile.am | 1 + tests/signal2name.c | 55 + tests/tests.h | 3 +++ 3 files changed, 59 inserti

[PATCH v4 2/2] tests: add signal_receive.test

2016-06-14 Thread Fei Jie
* tests/signal_receive.c: New file. * tests/signal_receive.test: New test. * tests/.gitignore: Add signal_receive. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add signal_receive.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/signal_receive.c

Re: [PATCH 1/2] tests: add signal2name function to libtests

2016-06-12 Thread Fei , Jie/费 杰
Hi all, This is the v3 patch, how about it? I would appreciate it if you could give me a bit of advice. On 05/31/2016 02:13 PM, Fei Jie wrote: > * tests/tests.h (signal2name): New prototype. > * tests/signal2name.c: New file. > * tests/Makefile.am (libtests_a_SOURCES): Add it. > -

[PATCH v3] tests: add strace-E.test

2016-06-07 Thread Fei Jie
* tests/strace-E.expected: New file. * tests/strace-E.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. (EXTRA_DIST): Add strace-E.expected. --- tests/Makefile.am | 2 ++ tests/strace-E.expected | 1 + tests/strace-E.test | 9 + 3 files changed, 12 insertions(+) create m

[PATCH v2] tests: add strace-E.test

2016-06-06 Thread Fei Jie
* tests/strace-E.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. --- tests/Makefile.am | 1 + tests/strace-E.test | 15 +++ 2 files changed, 16 insertions(+) create mode 100755 tests/strace-E.test diff --git a/tests/Makefile.am b/tests/Makefile.am index dcc9323..092219c

[PATCH] tests: add strace-E.test

2016-06-02 Thread Fei Jie
* tests/strace-E.c: New file. * tests/strace-E.test: New test. * tests/.gitignore: Add strace-E. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add strace-E.test. --- tests/.gitignore| 1 + tests/Makefile.am | 2 ++ tests/strace-E.c| 10 ++ tests/strace-E.test |

[PATCH v3] tests: add xetrlimit.test

2016-06-01 Thread Fei Jie
* tests/xetrlimit.c: New file. * tests/xetrlimit.test: New test. * tests/.gitignore: Add xetrlimit. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add xetrlimit.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/xetrlimit.c| 76

[PATCH 2/2] tests: add signal_receive.test

2016-05-30 Thread Fei Jie
* tests/signal_receive.c: New file. * tests/signal_receive.test: New test. * tests/.gitignore: Add signal_receive. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add signal_receive.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/signal_receive.c

[PATCH 1/2] tests: add signal2name function to libtests

2016-05-30 Thread Fei Jie
* tests/tests.h (signal2name): New prototype. * tests/signal2name.c: New file. * tests/Makefile.am (libtests_a_SOURCES): Add it. --- tests/Makefile.am | 1 + tests/signal2name.c | 125 tests/tests.h | 3 ++ 3 files changed, 129 inser

[PATCH v2] tests: add signal_receive.test

2016-05-30 Thread Fei Jie
* tests/signal_receive.c: New file. * tests/signal_receive.test: New test. * tests/.gitignore: Add signal_receive. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add signal_receive.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/signal_receive.c

question about testcases

2016-05-26 Thread Fei , Jie/费 杰
Hi all, Do you think that the testcase of running a lot of strace processes at the same time worth testing? I'll be appreciated if you can give your advice. -- Mobile security can be enabling, not merely restricting.

[PATCH] tests: add signal_receive.test

2016-05-25 Thread Fei Jie
* tests/signal_receive.c: New file. * tests/signal_receive.test: New test. * tests/.gitignore: Add signal_receive. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add signal_receive.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/signal_receive.c

[PATCH 2/2] tests: add vhangup.test

2016-05-19 Thread Fei Jie
* tests/vhangup.c: New file. * tests/vhangup.test: New test. * tests/.gitignore: Add vhangup. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add vhangup.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/vhangup.c| 23 +++ tests/vhangup

[PATCH 1/2] tests: add mount.test

2016-05-19 Thread Fei Jie
* tests/mount.c: New file. * tests/mount.test: New test. * tests/.gitignore: Add mount. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add mount.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/mount.c | 29 + tests/mount.test

[PATCH v3] tests: add brk.test

2016-05-17 Thread Fei Jie
* tests/brk.c: New file. * tests/brk.test: New test. * tests/.gitignore: Add brk. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add brk.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/brk.c | 22 ++ tests/brk.test| 10 ++

[PATCH v2] tests: add brk.test

2016-05-17 Thread Fei Jie
* tests/brk.c: New file. * tests/brk.expected: Likewise. * tests/brk.test: New test. * tests/.gitignore: Add brk. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add brk.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/brk.c| 20

[PATCH 4/4] tests: add munlockall.test

2016-05-11 Thread Fei Jie
* tests/munlockall.c: New file. * tests/munlockall.test: New test. * tests/.gitignore: Add munlockall. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add munlockall.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/munlockall.c| 13 + te

[PATCH 1/4] tests: add brk.test

2016-05-11 Thread Fei Jie
* tests/brk.c: New file. * tests/brk.test: New test. * tests/.gitignore: Add brk. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add brk.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/brk.c | 23 +++ tests/brk.test| 14 +

[PATCH 3/4] tests: add link.test

2016-05-11 Thread Fei Jie
* tests/link.c: New file. * tests/link.test: New test. * tests/.gitignore: Add link. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add link.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/link.c | 27 +++ tests/link.test | 6 +

[PATCH 2/4] tests: add ptrace.test

2016-05-11 Thread Fei Jie
* tests/ptrace.c: New file. * tests/ptrace.test: New test. * tests/.gitignore: Add ptrace. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add ptrace.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/ptrace.c| 46 +

[PATCH v2 1/2] tests: add strace-V.test

2016-05-08 Thread Fei Jie
* tests/strace-V.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. --- tests/Makefile.am | 1 + tests/strace-V.test | 15 +++ 2 files changed, 16 insertions(+) create mode 100755 tests/strace-V.test diff --git a/tests/Makefile.am b/tests/Makefile.am index c09701d..aea3fa2

[PATCH v2 2/2] tests: add strace-ff.test

2016-05-08 Thread Fei Jie
* tests/strace-ff.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. --- tests/Makefile.am| 1 + tests/strace-ff.test | 14 ++ 2 files changed, 15 insertions(+) create mode 100755 tests/strace-ff.test diff --git a/tests/Makefile.am b/tests/Makefile.am index aea3fa2..00b2e

[PATCH 1/3] tests: add strace-ff.test

2016-05-05 Thread Fei Jie
* tests/strace-ff.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. --- tests/Makefile.am| 1 + tests/strace-ff.test | 18 ++ 2 files changed, 19 insertions(+) create mode 100755 tests/strace-ff.test diff --git a/tests/Makefile.am b/tests/Makefile.am index f13f897..4

[PATCH 2/3] tests: add strace-V.test

2016-05-05 Thread Fei Jie
* tests/strace-V.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. --- tests/Makefile.am | 1 + tests/strace-V.test | 15 +++ 2 files changed, 16 insertions(+) create mode 100755 tests/strace-V.test diff --git a/tests/Makefile.am b/tests/Makefile.am index 41f03fb..25afb99

[PATCH 3/3] tests: add strace-S.test

2016-05-05 Thread Fei Jie
* tests/strace-S.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. --- tests/Makefile.am | 1 + tests/strace-S.test | 52 2 files changed, 53 insertions(+) create mode 100755 tests/strace-S.test diff --git a/tests/Makefile.am b/test

[PATCH 1/3] tests: add mlock.test

2016-04-27 Thread Fei Jie
* tests/mlock.c: New file. * tests/mlock.test: New test. * tests/.gitignore: Add mlock. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add mlock.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/mlock.c | 38 ++ tests/mlo

[PATCH 3/3] tests: add pause.test

2016-04-27 Thread Fei Jie
* tests/pause.c: New file. * tests/pause.test: New test. * tests/.gitignore: Add pause. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add pause.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/pause.c | 32 tests/pause.tes

[PATCH 2/3] tests: add kill.test

2016-04-27 Thread Fei Jie
* tests/kill.c: New file. * tests/kill.test: New test. * tests/.gitignore: Add kill. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add kill.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/kill.c | 39 +++ tests/kill.t

[PATCH 3/5] tests: add mknodat.test

2016-04-26 Thread Fei Jie
* tests/mknodat.c: New file. * tests/mknodat.test: New test. * tests/.gitignore: Add mknodat. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add mknodat.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/mknodat.c| 41 ++

[PATCH 4/5] tests: add sync.test

2016-04-26 Thread Fei Jie
* tests/sync.c: New file. * tests/sync.test: New test. * tests/.gitignore: Add sync. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add sync.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/sync.c | 22 ++ tests/sync.test | 6 ++

[PATCH 1/5] tests: add reboot.test

2016-04-26 Thread Fei Jie
* tests/reboot.c: New file. * tests/reboot.test: New test. * tests/.gitignore: Add reboot. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add reboot.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/reboot.c| 37 + tests/

[PATCH 5/5] tests: add sched_yield.test

2016-04-26 Thread Fei Jie
* tests/sched_yield.c: New file. * tests/sched_yield.test: New test. * tests/.gitignore: Add sched_yield. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add sched_yield.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/sched_yield.c| 23 ++

[PATCH 2/5] tests: add unlink.test

2016-04-26 Thread Fei Jie
* tests/unlink.c: New file. * tests/unlink.test: New test. * tests/.gitignore: Add unlink. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add unlink.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/unlink.c| 26 ++ tests/unlink.test

[PATCH 4/4] tests: add symlink.test

2016-04-25 Thread Fei Jie
* tests/symlink.c: New file. * tests/symlink.test: New test. * tests/.gitignore: Add symlink. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add symlink.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/symlink.c| 26 ++ tests/syml

[PATCH 2/4] tests: add setdomainname.test

2016-04-25 Thread Fei Jie
* tests/setdomainname.c: New file. * tests/setdomainname.test: New test. * tests/.gitignore: Add setdomainname. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add setdomainname.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/setdomainname.c|

[PATCH 1/4] tests: add sched_rr_get_interval.test

2016-04-25 Thread Fei Jie
* tests/sched_rr_get_interval.c: New file. * tests/sched_rr_get_interval.test: New test. * tests/.gitignore: Add sched_rr_get_interval. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add sched_rr_get_interval.test. --- tests/.gitignore | 1 + tests/Makefile.am

[PATCH 3/4] tests: add rmdir.test

2016-04-25 Thread Fei Jie
* tests/rmdir.c: New file. * tests/rmdir.test: New test. * tests/.gitignore: Add rmdir. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add rmdir.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/rmdir.c | 25 + tests/rmdir.test | 6

[PATCH 2/4] tests: add fchdir.test

2016-04-21 Thread Fei Jie
* tests/fchdir.c: New file. * tests/fchdir.test: New test. * tests/.gitignore: Add fchdir. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add fchdir.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/fchdir.c| 27 +++ tests/fchdir.tes

[PATCH 4/4] tests: add getpgrp.test

2016-04-21 Thread Fei Jie
* tests/getpgrp.c: New file. * tests/getpgrp.test: New test. * tests/.gitignore: Add getpgrp. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add getpgrp.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/getpgrp.c| 22 ++ tests/getpgrp.

[PATCH 3/4] tests: add access.test

2016-04-21 Thread Fei Jie
* tests/access.c: New file. * tests/access.test: New test. * tests/.gitignore: Add access. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add access.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/access.c| 31 +++ tests/access

[PATCH 1/4] tests: add mkdir.test

2016-04-21 Thread Fei Jie
* tests/mkdir.c: New file. * tests/mkdir.test: New test. * tests/.gitignore: Add mkdir. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add mkdir.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/mkdir.c | 29 + tests/mkdir.test

[PATCH v3] tests: add getsid.test

2016-04-20 Thread Fei Jie
* tests/getsid.c: New file. * tests/getsid.test: New test. * tests/.gitignore: Add getsid. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add getsid.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/getsid.c| 13 + tests/getsid.test | 6 ++

[PATCH v2] tests: add getsid.test

2016-04-20 Thread Fei Jie
* tests/getsid.c: New file. * tests/getsid.test: New test. * tests/.gitignore: Add getsid. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add getsid.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/getsid.c| 23 +++ tests/getsid.test |

[PATCH 2/4] tests: add iopl.test

2016-04-19 Thread Fei Jie
* tests/iopl.c: New file. * tests/iopl.test: New test. * tests/.gitignore: Add iopl. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add iopl.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/iopl.c | 36 tests/iopl.test

[PATCH 1/4] tests: add ioperm.test

2016-04-19 Thread Fei Jie
* tests/ioperm.c: New file. * tests/ioperm.test: New test. * tests/.gitignore: Add ioperm. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add ioperm.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/ioperm.c| 41 + te

[PATCH 3/4] tests: add symlinkat.test

2016-04-19 Thread Fei Jie
* tests/symlinkat.c: New file. * tests/symlinkat.test: New test. * tests/.gitignore: Add symlinkat. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add symlinkat.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/symlinkat.c| 29

[PATCH 4/4] tests: add getsid.test

2016-04-19 Thread Fei Jie
* tests/getsid.c: New file. * tests/getsid.test: New test. * tests/.gitignore: Add getsid. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add getsid.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/getsid.c| 23 +++ tests/getsid.test |

[PATCH v2 1/2] tests: add semop.test

2016-04-18 Thread Fei Jie
* tests/semop.c: New file. * tests/semop.test: New test. * tests/.gitignore: Add semop. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add semop.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/semop.c | 55 +

[PATCH v2 2/2] tests: add shmxt.test

2016-04-18 Thread Fei Jie
* tests/shmxt.c: New file. * tests/shmxt.test: New test. * tests/.gitignore: Add shmxt. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add shmxt.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/shmxt.c | 45 + te

[PATCH 3/3] tests: add semop.test

2016-04-11 Thread Fei Jie
* tests/semop.c: New file. * tests/semop.test: New test. * tests/.gitignore: Add semop. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add semop.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/semop.c | 45 + te

[PATCH 2/3] tests: add shmxt.test

2016-04-11 Thread Fei Jie
* tests/shmxt.c: New file. * tests/shmxt.test: New test. * tests/.gitignore: Add shmxt. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add shmxt.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/shmxt.c | 27 +++ tests/shmxt.test |

[PATCH 1/3] tests: add lchown.test

2016-04-11 Thread Fei Jie
* tests/lchown.c: New file. * tests/lchown.test: New test. * tests/.gitignore: Add lchown. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add lchown.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/lchown.c| 49 +

[PATCH 1/4] tests: add epoll_create.test

2016-04-08 Thread Fei Jie
* tests/epoll_create.c: New file. * tests/epoll_create.test: New test. * tests/.gitignore: Add epoll_create. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add epoll_create.test. --- tests/.gitignore| 1 + tests/Makefile.am | 2 ++ tests/epoll_create.c| 26 +++

[PATCH 2/4] tests: add epoll_ctl.test

2016-04-08 Thread Fei Jie
* tests/epoll_ctl.c: New file. * tests/epoll_ctl.test: New test. * tests/.gitignore: Add epoll_ctl. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add epoll_ctl.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/epoll_ctl.c| 31

[PATCH 3/4] tests: add epoll_wait.test

2016-04-08 Thread Fei Jie
* tests/epoll_wait.c: New file. * tests/epoll_wait.test: New test. * tests/.gitignore: Add epoll_wait. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add epoll_wait.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/epoll_wait.c| 27 +

[PATCH 4/4] tests: add mlockall.test

2016-04-08 Thread Fei Jie
* tests/mlockall.c: New file. * tests/mlockall.test: New test. * tests/.gitignore: Add mlockall. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add mlockall.test. --- tests/.gitignore| 1 + tests/Makefile.am | 2 ++ tests/mlockall.c| 48 +++

[PATCH 2/4] tests: add unlinkat.test

2016-04-05 Thread Fei Jie
* tests/unlinkat.c: New file. * tests/unlinkat.test: New test. * tests/.gitignore: Add unlinkat. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add unlinkat.test. --- tests/.gitignore| 1 + tests/Makefile.am | 2 ++ tests/unlinkat.c| 28 t

[PATCH 3/4] tests: add swap.test

2016-04-05 Thread Fei Jie
* tests/swap.c: New file. * tests/swap.test: New test. * tests/.gitignore: Add swap. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add swap.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/swap.c | 48 tes

[PATCH 1/4] tests: add linkat.test

2016-04-05 Thread Fei Jie
* tests/linkat.c: New file. * tests/linkat.test: New test. * tests/.gitignore: Add linkat. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add linkat.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/linkat.c| 30 ++ tests/linkat.

[PATCH 4/4] tests: add mkdirat.test

2016-04-05 Thread Fei Jie
* tests/mkdirat.c: New file. * tests/mkdirat.test: New test. * tests/.gitignore: Add mkdirat. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add mkdirat.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/mkdirat.c| 29 + tests/m

[PATCH 1/4] tests: add sethostname.test

2016-03-31 Thread Fei Jie
* tests/sethostname.c: New file. * tests/sethostname.test: New test. * tests/.gitignore: Add sethostname. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add sethostname.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/sethostname.c| 38 ++

[PATCH 4/4] tests: add chroot.test

2016-03-31 Thread Fei Jie
* tests/chroot.c: New file. * tests/chroot.test: New test. * tests/.gitignore: Add chroot. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add chroot.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/chroot.c| 37 + tests/

[PATCH 3/4] tests: add fdatasync.test

2016-03-31 Thread Fei Jie
* tests/fdatasync.c: New file. * tests/fdatasync.test: New test. * tests/.gitignore: Add fdatasync. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add fdatasync.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/fdatasync.c| 27

[PATCH 2/4] tests: add fsync.test

2016-03-31 Thread Fei Jie
* tests/fsync.c: New file. * tests/fsync.test: New test. * tests/.gitignore: Add fsync. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add fsync.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/fsync.c | 27 +++ tests/fsync.test |

[PATCH 1/4] tests: add mknod.test

2016-03-25 Thread Fei Jie
* tests/mknod.c: New file. * tests/mknod.test: New test. * tests/.gitignore: Add mknod. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add mknod.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/mknod.c | 29 + tests/mknod.test | 11 +++

[PATCH 4/4] tests: add renameat.test

2016-03-25 Thread Fei Jie
* tests/renameat.c: New file. * tests/renameat.test: New test. * tests/.gitignore: Add renameat. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add renameat.test. --- tests/.gitignore| 1 + tests/Makefile.am | 2 ++ tests/renameat.c| 31 +++ tests/

[PATCH 3/4] tests: add faccessat.test

2016-03-25 Thread Fei Jie
* tests/faccessat.c: New file. * tests/faccessat.test: New test. * tests/.gitignore: Add faccessat. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add faccessat.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/faccessat.c| 29 + t

[PATCH 2/4] tests: add creat.test

2016-03-25 Thread Fei Jie
* tests/creat.c: New file. * tests/creat.test: New test. * tests/.gitignore: Add creat. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add creat.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/creat.c | 29 + tests/creat.test | 11 +++

[PATCH v3] tests: add syslog.test

2016-03-25 Thread Fei Jie
* tests/syslog.c: New file. * tests/syslog.test: New test. * tests/.gitignore: Add syslog. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add syslog.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/syslog.c| 39 +++ tests/syslog

[PATCH v2 2/2] tests: add syslog.test

2016-03-19 Thread Fei Jie
* tests/syslog.c: New file. * tests/syslog.test: New test. * tests/.gitignore: Add syslog. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add syslog.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/syslog.c| 40 tests/syslo

[PATCH v2 1/2] tests: add getcwd.test

2016-03-19 Thread Fei Jie
* tests/getcwd.c: New file. * tests/getcwd.test: New test. * tests/.gitignore: Add getcwd. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add getcwd.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/getcwd.c| 26 ++ tests/getcwd.test | 11 ++

[PATCH v6] tests: add xetpriority.test

2016-03-19 Thread Fei Jie
* resource.c (SYS_FUNC(getpriority), SYS_FUNC(setpriority)): Print the second syscall argument using %d format. * tests/xetpriority.c: New file. * tests/xetpriority.test: New test. * tests/.gitignore: Add xetpriority. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add xetpriority.test. --

[PATCH 3/3] tests: add syslog.test

2016-03-15 Thread Fei Jie
* tests/syslog.c: New file. * tests/syslog.test: New test. * tests/.gitignore: Add syslog. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add syslog.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/syslog.c| 30 ++ tests/syslog.test | 1

[PATCH 2/3] tests: add getcwd.test

2016-03-15 Thread Fei Jie
* tests/getcwd.c: New file. * tests/getcwd.test: New test. * tests/.gitignore: Add getcwd. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add getcwd.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/getcwd.c| 26 ++ tests/getcwd.test | 11 ++

[PATCH 1/3] tests: add flock.test

2016-03-15 Thread Fei Jie
* tests/flock.c: New file. * tests/flock.test: New test. * tests/.gitignore: Add flock. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add flock.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/flock.c | 28 tests/flock.test | 11

[PATCH v3] tests: add sched_xetscheduler.test

2016-03-15 Thread Fei Jie
* tests/sched_xetscheduler.c: New file. * tests/sched_xetscheduler.test: New test. * tests/.gitignore: Add sched_xetscheduler. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_xetscheduler.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ test

[PATCH v5] tests: add xetpriority.test

2016-03-15 Thread Fei Jie
* resource.c (SYS_FUNC(getpriority)): Print the second syscall argument using %d format. * resource.c (SYS_FUNC(setpriority)): Print the second syscall argument using %d format. * tests/xetpriority.c: New file. * tests/xetpriority.test: New test. * tests/.gitignore: Add xetpriority. * tests/Makefil

[PATCH] tests: filter strace output in uname test

2016-03-10 Thread Fei Jie
* tests/uname.test: Use uniq to filter strace output. --- tests/uname.test | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/uname.test b/tests/uname.test index d11af15..500fbfe 100755 --- a/tests/uname.test +++ b/tests/uname.test @@ -4,8 +4,12 @@ . "${srcdir=.}/

[PATCH v2 3/4] tests: add sched_xetparam.test

2016-03-10 Thread Fei Jie
* tests/sched_xetparam.c: New file. * tests/sched_xetparam.test: New test. * tests/.gitignore: Add sched_xetparam. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_xetparam.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/sched_xetparam.c|

[PATCH v2 2/4] tests: add sched_get_priority_mxx.test

2016-03-10 Thread Fei Jie
* tests/sched_get_priority_mxx.c: New file. * tests/sched_get_priority_mxx.test: New test. * tests/.gitignore: Add sched_get_priority_mxx. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_get_priority_mxx.test. --- tests/.gitignore | 1 + tests/Makefile.am

[PATCH v2 1/4] tests: add xetrlimit.test

2016-03-10 Thread Fei Jie
* tests/xetrlimit.c: New file. * tests/xetrlimit.test: New test. * tests/.gitignore: Add xetrlimit. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add xetrlimit.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/xetrlimit.c| 36

[PATCH v2 4/4] tests: add sched_xetscheduler.test

2016-03-10 Thread Fei Jie
* tests/sched_xetscheduler.c: New file. * tests/sched_xetscheduler.test: New test. * tests/.gitignore: Add sched_xetscheduler. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_xetscheduler.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ test

[PATCH v4 2/2] tests: add dup.test, dup2.test and dup3.test

2016-03-09 Thread Fei Jie
* tests/dup.c: New file. * tests/dup.test: New test. * tests/dup2.c: New file. * tests/dup2.test: New test. * tests/dup3.c: New file. * tests/dup3.test: New test. * tests/.gitignore: Add dup, dup2 and dup3. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add dup.test, dup2.test and dup3.te

[PATCH v4 1/2] tests: add xetpriority.test

2016-03-09 Thread Fei Jie
* resource.c (SYS_FUNC(getpriority)): Print the second syscall argument using %d format. * resource.c (SYS_FUNC(setpriority)): Print the second syscall argument using %d format. * tests/xetpriority.c: New file. * tests/xetpriority.test: New test. * tests/.gitignore: Add xetpriority. * tests/Makefil

[PATCH v3 1/3] tests: add xetpriority.test

2016-03-08 Thread Fei Jie
* tests/xetpriority.c: New file. * tests/xetpriority.test: New test. * tests/.gitignore: Add xetpriority. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add xetpriority.test. * resource.c (sys_getpriority): printf tcp->u_arg[1] in %d format. * resource.c (sys_setpriority): printf tcp->u_a

[PATCH v3 2/3] tests: add dup.test, dup2.test and dup3.test

2016-03-08 Thread Fei Jie
* tests/dup.c: New file. * tests/dup.test: New test. * tests/dup2.c: New file. * tests/dup2.test: New test. * tests/dup3.c: New file. * tests/dup3.test: New test. * tests/.gitignore: Add dup, dup2 and dup3. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add dup.test, dup2.test and dup3.te

Re: [PATCH 1/3] tests: add xetpriority.test

2016-03-08 Thread Fei , Jie/费 杰
Hi, On 03/09/2016 11:32 AM, Dmitry V. Levin wrote: On Wed, Mar 09, 2016 at 11:27:37AM +0800, Fei, Jie/费 杰 wrote: On 03/08/2016 06:36 AM, Dmitry V. Levin wrote: On Mon, Mar 07, 2016 at 11:29:49AM +0800, Fei, Jie/费 杰 wrote: On 03/04/2016 10:46 PM, Dmitry V. Levin wrote: On Fri, Mar 04, 2016

[PATCH v3 3/3] tests: add acct.test

2016-03-08 Thread Fei Jie
* tests/acct.c: New file. * tests/acct.test: New test. * tests/.gitignore: Add acct. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add acct.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/acct.c | 39 +++ tests/acct.test |

Re: [PATCH 1/3] tests: add xetpriority.test

2016-03-08 Thread Fei , Jie/费 杰
Hi, On 03/08/2016 06:36 AM, Dmitry V. Levin wrote: On Mon, Mar 07, 2016 at 11:29:49AM +0800, Fei, Jie/费 杰 wrote: On 03/04/2016 10:46 PM, Dmitry V. Levin wrote: On Fri, Mar 04, 2016 at 05:10:46PM +0800, Fei Jie wrote: [...] * linux/dummy.h: (sys_getpriority, sys_setpriority): Change to

[PATCH 1/4] tests: add xetrlimit.test

2016-03-08 Thread Fei Jie
* tests/xetrlimit.c: New file. * tests/xetrlimit.test: New test. * tests/.gitignore: Add xetrlimit. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add xetrlimit.test. --- tests/.gitignore | 1 + tests/Makefile.am| 2 ++ tests/xetrlimit.c| 38

[PATCH 3/4] tests: add sched_xetparam.test

2016-03-08 Thread Fei Jie
* tests/sched_xetparam.c: New file. * tests/sched_xetparam.test: New test. * tests/.gitignore: Add sched_xetparam. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_xetparam.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/sched_xetparam.c|

[PATCH 2/4] tests: add sched_get_priority_mxx.test

2016-03-08 Thread Fei Jie
* tests/sched_get_priority_mxx.c: New file. * tests/sched_get_priority_mxx.test: New test. * tests/.gitignore: Add sched_get_priority_mxx. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_get_priority_mxx.test. --- tests/.gitignore | 1 + tests/Makefile.am

[PATCH 4/4] tests: add sched_xetscheduler.test

2016-03-08 Thread Fei Jie
* tests/sched_xetscheduler.c: New file. * tests/sched_xetscheduler.test: New test. * tests/.gitignore: Add sched_xetscheduler. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_xetscheduler.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ test

[PATCH v2 2/3] tests: add dup.test, dup2.test and dup3.test

2016-03-06 Thread Fei Jie
* tests/dup.c: New file. * tests/dup.test: New test. * tests/dup2.c: New file. * tests/dup2.test: New test. * tests/dup3.c: New file. * tests/dup3.test: New test. * tests/.gitignore: Add dup, dup2 and dup3. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add dup.test, dup2.test and dup3.te

[PATCH v2 1/3] tests: add xetpriority.test

2016-03-06 Thread Fei Jie
* tests/xetpriority.c: New file. * tests/xetpriority.test: New test. * tests/.gitignore: Add xetpriority. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add xetpriority.test. * linux/dummy.h: (sys_getpriority, sys_setpriority): Change to printargs_d. --- linux/dummy.h | 2 ++ t

[PATCH v2 3/3] tests: add acct.test

2016-03-06 Thread Fei Jie
* tests/acct.c: New file. * tests/acct.test: New test. * tests/.gitignore: Add acct. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add acct.test. --- tests/.gitignore | 1 + tests/Makefile.am | 2 ++ tests/acct.c | 37 + tests/acct.test | 11

Re: [PATCH 1/3] tests: add xetpriority.test

2016-03-06 Thread Fei , Jie/费 杰
Hi, On 03/04/2016 10:46 PM, Dmitry V. Levin wrote: On Fri, Mar 04, 2016 at 05:10:46PM +0800, Fei Jie wrote: [...] * linux/dummy.h: (sys_getpriority, sys_setpriority): Change to printargs_d. Why? I added this to make strace print xetpriority in the following format: getpriority(0, 17207

  1   2   >