strace/tests
Dmitry V. Levin f9b455cfd2 Fix time syscall decoding for some personalities
* time.c (current_time_t_is_int32): Define.
(sys_time): Use it, printnum_int, and printnum_int64 instead
of printnum_long.
* tests/time.c: New file.
* tests/time.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add time.
(TESTS): Add time.test.
* tests/.gitignore: Add time.
2015-08-18 15:10:55 +00:00
..
.gitignore Fix time syscall decoding for some personalities 2015-08-18 15:10:55 +00:00
bexecve.test Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
bpf.c tests/bpf: fix build with incompatibly old linux/bpf.h and/or gcc 2015-07-29 22:53:07 +00:00
bpf.test Implement bpf syscall decoding 2015-07-27 15:27:43 +00:00
caps.awk tests: factor out common awk code 2015-03-18 22:41:17 +00:00
caps.c Implement full decoding of 64-bit capabilities 2014-12-06 03:53:12 +00:00
caps.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
count.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
detach-running.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
detach-sleeping.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
detach-stopped.test Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
dumpio.expected tests: add a test for the latest dumpio fix 2015-02-01 01:33:20 +00:00
dumpio.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
epoll_create1.c epoll_create1: fix flags decoding 2015-08-02 00:10:48 +00:00
epoll_create1.expected epoll_create1: fix flags decoding 2015-08-02 00:10:48 +00:00
epoll_create1.test epoll_create1: fix flags decoding 2015-08-02 00:10:48 +00:00
eventfd.c eventfd2: fix flags decoding 2015-08-01 22:23:58 +00:00
eventfd.expected eventfd2: fix flags decoding 2015-08-01 22:23:58 +00:00
eventfd.test eventfd2: fix flags decoding 2015-08-01 22:23:58 +00:00
execve-v.expected execve: fix support of personalities with different word size 2015-07-27 15:27:43 +00:00
execve.c execve: fix support of personalities with different word size 2015-07-27 15:27:43 +00:00
execve.expected execve: fix support of personalities with different word size 2015-07-27 15:27:43 +00:00
execve.test execve: fix support of personalities with different word size 2015-07-27 15:27:43 +00:00
execveat-v.expected Implement execveat syscall decoding 2015-07-27 15:27:43 +00:00
execveat.c Implement execveat syscall decoding 2015-07-27 15:27:43 +00:00
execveat.expected Implement execveat syscall decoding 2015-07-27 15:27:43 +00:00
execveat.test Implement execveat syscall decoding 2015-07-27 15:27:43 +00:00
fanotify_mark.c Fix fanotify_mark decoding on 32-bit architectures 2015-01-10 00:40:10 +00:00
fanotify_mark.expected tests: strip executable bit from *.expected files 2015-04-07 21:11:50 +00:00
fanotify_mark.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
filter-unavailable.c Fix filtering of <unavailable> syscalls 2015-06-30 17:28:02 +00:00
filter-unavailable.expected Fix filtering of <unavailable> syscalls 2015-06-30 17:28:02 +00:00
filter-unavailable.test Fix filtering of <unavailable> syscalls 2015-06-30 17:28:02 +00:00
getdents.awk tests: factor out common awk code 2015-03-18 22:41:17 +00:00
getdents.out tests: workaround broken awk 2015-02-23 22:26:06 +00:00
getdents.test tests: factor out common awk code 2015-03-18 22:41:17 +00:00
getrandom.awk tests: factor out common awk code 2015-03-18 22:41:17 +00:00
getrandom.c Implement getrandom syscall decoding 2015-02-05 01:10:47 +00:00
getrandom.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
inet-accept-connect-send-recv.c tests: skip ip network tests when the network is not functional 2015-01-14 11:37:40 +00:00
init.sh tests: workaround old gawk versions that do not provide @include support 2015-04-07 00:10:39 +00:00
ioctl.c Fix ioctl entries on 32-bit architectures with 64-bit aligned structures 2015-05-21 22:53:42 +00:00
ioctl.expected Fix ioctl entries on 32-bit architectures with 64-bit aligned structures 2015-05-21 22:53:42 +00:00
ioctl.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
ip_mreq.c tests/ip_mreq: skip if basic setsockopt operations fail 2015-07-21 19:09:35 +00:00
ip_mreq.expected net: decode setsockopt() multicast arguments 2015-06-08 23:02:27 +00:00
ip_mreq.test net: decode setsockopt() multicast arguments 2015-06-08 23:02:27 +00:00
ipc_msg.c ipc.c: use printaddr and umove_or_printaddr 2015-07-20 22:03:06 +00:00
ipc_msg.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
ipc_sem.c semctl: fix indirect syscall decoding 2015-03-16 14:23:09 +00:00
ipc_sem.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
ipc_shm.c ipc.c: use printaddr and umove_or_printaddr 2015-07-20 22:03:06 +00:00
ipc_shm.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
ipc.sh tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
Makefile.am Fix time syscall decoding for some personalities 2015-08-18 15:10:55 +00:00
match.awk tests: factor out common awk code 2015-03-18 22:41:17 +00:00
memfd_create.c Implement memfd_create syscall decoding 2015-07-29 09:18:26 +00:00
memfd_create.expected Implement memfd_create syscall decoding 2015-07-29 09:18:26 +00:00
memfd_create.test Implement memfd_create syscall decoding 2015-07-29 09:18:26 +00:00
mmap64.c tests: add a test for mmap/mprotect/munmap decoding 2015-03-20 02:15:11 +00:00
mmap64.test tests: add a test for mmap/mprotect/munmap decoding 2015-03-20 02:15:11 +00:00
mmap.c tests: add a test for mmap/mprotect/munmap decoding 2015-03-20 02:15:11 +00:00
mmap.test tests: add a test for mmap/mprotect/munmap decoding 2015-03-20 02:15:11 +00:00
mmsg.c tests: skip sendmmsg/recvmmsg test if these syscalls are not implemented in kernel 2015-01-14 13:18:05 +00:00
mmsg.expected tests: add a test for decoding and dumping of recvmmsg/sendmmsg 2014-11-11 15:45:26 +00:00
mmsg.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
net-accept-connect.c tests: robustify unix-yy.test 2015-03-05 17:44:32 +00:00
net-fd.expected tests: strip executable bit from *.expected files 2015-04-07 21:11:50 +00:00
net-fd.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
net-yy-accept.awk socket: mark return code with RVAL_FD flag 2015-08-03 09:09:26 +00:00
net-yy-connect.awk socket: mark return code with RVAL_FD flag 2015-08-03 09:09:26 +00:00
net-yy.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
net.expected tests: strip executable bit from *.expected files 2015-04-07 21:11:50 +00:00
net.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
netlink_inet_diag.c tests: skip netlink based tests when resources are not available 2015-03-18 22:39:20 +00:00
netlink_unix_diag.c tests: skip netlink based tests when resources are not available 2015-03-18 22:39:20 +00:00
oldselect.c tests: add oldselect.test 2015-07-30 22:03:07 +00:00
oldselect.expected tests: add oldselect.test 2015-07-30 22:03:07 +00:00
oldselect.test tests: add oldselect.test 2015-07-30 22:03:07 +00:00
pc.c tests: skip pc.test on s390 2015-03-03 01:13:10 +00:00
pc.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
pipe.c alpha, ia64, sh, sparc, sparc64: fix pipe and pipe2 syscalls decoding 2015-03-23 03:16:51 +00:00
pipe.expected alpha, ia64, sh, sparc, sparc64: fix pipe and pipe2 syscalls decoding 2015-03-23 03:16:51 +00:00
pipe.test alpha, ia64, sh, sparc, sparc64: fix pipe and pipe2 syscalls decoding 2015-03-23 03:16:51 +00:00
ppoll-v.expected tests/ppoll: replace SIGABRT with SIGHUP 2015-08-01 16:52:13 +00:00
ppoll.c tests/ppoll: replace SIGABRT with SIGHUP 2015-08-01 16:52:13 +00:00
ppoll.expected tests/ppoll: replace SIGABRT with SIGHUP 2015-08-01 16:52:13 +00:00
ppoll.test Cleanup poll/ppoll decoders 2015-07-30 22:03:07 +00:00
qual_syscall.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
readlink.awk tests: add readlink.test and readlinkat.test 2015-08-15 02:21:22 +02:00
readlink.c tests: add readlink.test and readlinkat.test 2015-08-15 02:21:22 +02:00
readlink.test tests: add readlink.test and readlinkat.test 2015-08-15 02:21:22 +02:00
readlinkat.awk tests: add readlink.test and readlinkat.test 2015-08-15 02:21:22 +02:00
readlinkat.c tests: add readlink.test and readlinkat.test 2015-08-15 02:21:22 +02:00
readlinkat.test tests: add readlink.test and readlinkat.test 2015-08-15 02:21:22 +02:00
restart_syscall_unknown.expected tests: add a test for "resuming interrupted nanosleep" 2015-04-07 23:01:47 +00:00
restart_syscall.expected tests: add a test for "resuming interrupted nanosleep" 2015-04-07 23:01:47 +00:00
restart_syscall.test tests/restart_syscall: skip if nanosleep looks uninterrupted 2015-07-27 15:27:43 +00:00
run.sh tests: enhance timeout checks 2013-06-18 17:07:37 +00:00
sched_xetattr.c Implement sched_getattr and sched_setattr syscalls decoding 2015-07-29 09:18:26 +00:00
sched_xetattr.test Implement sched_getattr and sched_setattr syscalls decoding 2015-07-29 09:18:26 +00:00
scm_rights-fd.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
scm_rights.c printfd: quote pathnames 2015-01-26 19:05:40 +00:00
seccomp.c tests: add a test for SECCOMP_MODE_FILTER decoding 2015-03-19 00:40:49 +00:00
seccomp.test tests: add a test for SECCOMP_MODE_FILTER decoding 2015-03-19 00:40:49 +00:00
select.awk tests: factor out common awk code 2015-03-18 22:41:17 +00:00
select.c tests: add a test for select syscall decoding 2015-02-04 02:21:13 +00:00
select.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
set_ptracer_any.c set_ptracer_any: add a little documentation 2014-08-11 17:19:17 +00:00
sigaction.awk tests: factor out common awk code 2015-03-18 22:41:17 +00:00
sigaction.c Rewrite signal mask decoding without sigset_t 2014-02-27 00:28:39 +00:00
sigaction.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
sigaltstack.c tests: add sigaltstack.test 2015-07-18 00:01:40 +00:00
sigaltstack.expected tests: add sigaltstack.test 2015-07-18 00:01:40 +00:00
sigaltstack.test tests: add sigaltstack.test 2015-07-18 00:01:40 +00:00
signalfd.c signalfd4: fix flags decoding 2015-08-03 09:57:14 +00:00
signalfd.expected signalfd4: fix flags decoding 2015-08-03 09:57:14 +00:00
signalfd.test signalfd4: fix flags decoding 2015-08-03 09:57:14 +00:00
sigreturn.c Use SIGRTMIN from kernel headers 2015-03-05 05:42:30 +00:00
sigreturn.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
stack-fcall-0.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-1.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-2.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-3.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stat32-v.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
stat32.c tests: check verbose decoding of 32-bit and 64-bit struct stat 2015-01-08 00:59:42 +00:00
stat64-v.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
stat.c Print nanoseconds along with seconds in stat family syscalls 2015-08-09 09:19:55 +00:00
stat.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
statfs.c fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
statfs.expected tests: strip executable bit from *.expected files 2015-04-07 21:11:50 +00:00
statfs.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
strace-f.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
strace-k.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
sun_path.expected tests: strip executable bit from *.expected files 2015-04-07 21:11:50 +00:00
sun_path.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
time.c Fix time syscall decoding for some personalities 2015-08-18 15:10:55 +00:00
time.test Fix time syscall decoding for some personalities 2015-08-18 15:10:55 +00:00
uid16.c tests/uid*: use fchown* instead of chown* 2015-03-16 18:20:57 +00:00
uid16.test Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 2014-12-16 01:07:12 +00:00
uid32.c tests/uid*: use fchown* instead of chown* 2015-03-16 18:20:57 +00:00
uid32.test printuid: fix uid_t decoding on 64-bit architectures 2014-12-14 03:54:04 +00:00
uid.awk tests/uid.test: adopt for alpha 2015-07-16 22:13:56 +00:00
uid.c tests/uid: import uid overflow check from tests/uid16 2015-07-22 19:47:39 +00:00
uid.test tests/uid.test: adopt for alpha 2015-07-16 22:13:56 +00:00
uio.c tests: fix uio building w/out preadv/pwritev 2014-08-11 17:30:01 +00:00
uio.expected tests: strip executable bit from *.expected files 2015-04-07 21:11:50 +00:00
uio.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
umovestr2.c tests: rewrite umovestr2.test without using grep 2015-04-06 22:17:28 +00:00
umovestr2.test tests: rewrite umovestr2.test without using grep 2015-04-06 22:17:28 +00:00
umovestr.c umovestr: fix short read bug 2015-03-31 20:52:41 +00:00
umovestr.expected umovestr: fix short read bug 2015-03-31 20:52:41 +00:00
umovestr.test umovestr: fix short read bug 2015-03-31 20:52:41 +00:00
unix-pair-send-recv.c tests: add a test for the latest dumpio fix 2015-02-01 01:33:20 +00:00
unix-yy-accept.awk socket: mark return code with RVAL_FD flag 2015-08-03 09:09:26 +00:00
unix-yy-connect.awk socket: mark return code with RVAL_FD flag 2015-08-03 09:09:26 +00:00
unix-yy.test tests: factor out common shell code to functions 2015-03-18 02:29:36 +00:00
utime.c tests: add utime.test 2015-07-16 01:36:47 +00:00
utime.test tests: add utime.test 2015-07-16 01:36:47 +00:00
xattr.c tests: add xattr.test 2015-07-15 00:09:08 +00:00
xattr.expected tests: add xattr.test 2015-07-15 00:09:08 +00:00
xattr.test tests: add xattr.test 2015-07-15 00:09:08 +00:00