History log of /external/strace/tests/pselect6.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e67c8e44db0918ed0bbffafa5829b0022b7a34dd 16-Dec-2015 Dmitry V. Levin <ldv@altlinux.org> Replace %Ld/%Lu printf format specifiers with %lld/%llu

As %Ld and %Lu printf format specifiers are not quite portable,
replace them with %lld and %llu, respectively.

* desc.c (SYS_FUNC(pselect6)): Replace %Lu with %llu.
* dirent.c (print_old_dirent, SYS_FUNC(getdents)): Likewise.
* times.c (SYS_FUNC(times)): Likewise.
* fcntl.c (print_struct_flock64): Replace %Ld with %lld.
* tests/ftruncate.c (main): Replace %Lu with %llu.
* tests/ftruncate64.c (main): Likewise.
* tests/getdents.c (print_dirent): Likewise.
* tests/llseek.c (main): Likewise.
* tests/lseek.c (main): Likewise.
* tests/truncate.c (main): Likewise.
* tests/truncate64.c (main): Likewise.
* tests/xstatx.c (main): Likewise.
* tests/pselect6.c (main): Replace %Ld with %lld.
* tests/xselect.c(main): Likewise.

Reported-by: Szabolcs Nagy <nsz@port70.net>
/external/strace/tests/pselect6.c
81ea4bf063ce5a33bd68949ccf65e7d9259096aa 18-Sep-2015 Dmitry V. Levin <ldv@altlinux.org> tests: add one more case to pselect6.test

* tests/pselect6.c (main): Check how timeout is printed
on exiting syscall.
/external/strace/tests/pselect6.c
5d98310e001e2095d486418a6ae40aafcfbcafb7 18-Sep-2015 Dmitry V. Levin <ldv@altlinux.org> tests: robustify pselect6 test

* tests/pselect6.c: Do not include <assert.h> and <string.h>.
Include <sys/syscall.h>.
[!__NR_pselect6]: Skip the test.
(main): Skip the test instead of assertions.
Add some padding to the timespec structure.
/external/strace/tests/pselect6.c
6c528f5502bdb1371384e4af1aa20295466ae698 18-Sep-2015 Dmitry V. Levin <ldv@altlinux.org> tests: add another case to pselect6 test

* tests/pselect6.c: Include <sys/time.h>.
(handler): New function.
(main): Install an interval timer.
Use it to check how ERESTARTNOHAND is printed.
/external/strace/tests/pselect6.c
77a1b6bc413a257723cf0e2aab1b6783c3070536 15-Sep-2015 Dmitry V. Levin <ldv@altlinux.org> tests: add pselect6.test

* tests/pselect6.c: New file.
* tests/pselect6.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add pselect6.
(TESTS): Add pselect6.test.
* tests/.gitignore: Add pselect6.
/external/strace/tests/pselect6.c