]> granicus.if.org Git - strace/commit
tests: check decoding of F_GETOWN_EX and F_SETOWN_EX fcntl commands
authorZhibin Li <08826794brmt@gmail.com>
Wed, 2 May 2018 15:16:57 +0000 (23:16 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 3 May 2018 00:09:53 +0000 (00:09 +0000)
commit3f6e47c7cc67aa1cbce3dc8fec8ee54849001380
tree28b54032a15615ef3e4b5b47a69bbd0024be8dea
parentf904486a283a6d531de1a0f05cf4f79a95a1d704
tests: check decoding of F_GETOWN_EX and F_SETOWN_EX fcntl commands

* tests/fcntl.c (TEST_F_OWNER_EX): New macro.
[TEST_F_OWNER_EX]: Include "f_owner_ex.h".
[TEST_F_OWNER_EX] (test_f_owner_ex_type_pid,
test_f_owner_ex_umove_or_printaddr, test_f_owner_ex): New functions.
(main) [TEST_F_OWNER_EX]: Use test_f_owner_ex.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
tests/fcntl.c