Dmitry V. Levin
d9fb450748
* poll.c (decode_poll): Split into print_pollfd, decode_poll_entering, and decode_poll_exiting. (sys_poll, sys_ppoll): Update callers. * tests/ppoll.c: New file. * tests/ppoll.expected: Likewise. * tests/ppoll-v.expected: Likewise. * tests/ppoll.test: New test. * tests/Makefile.am (check_PROGRAMS): Add ppoll. (TESTS): Add ppoll.test. (EXTRA_DIST): Add ppoll.expected and ppoll-v.expected. * tests/.gitignore: Add ppoll.
4 lines
594 B
Plaintext
4 lines
594 B
Plaintext
ppoll\(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRNORM)?\|POLLWRBAND\}, \{fd=3, events=POLLIN\|POLLPRI\}, \{fd=4, events=POLLOUT\}\], 4, \{42, 999999999\}, \[(USR2 CHLD|CHLD USR2)\], (4|8|16)\) += 2 \(\[\{fd=1, revents=POLLOUT(\|POLLWRNORM)?\}, \{fd=4, revents=POLLOUT\}\], left \{42, 9[0-9]{8}\}\)
|
|
ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRNORM)?\|POLLWRBAND\}\], 2, \{0, 999\}, ~\[ABRT KILL STOP[^]]*\], (4|8|16)\) += 0 \(Timeout\)
|
|
ppoll\(NULL, 42, NULL, NULL, (4|8|16)\) += -1 EFAULT .*
|