Dmitry V. Levin
69b7307225
Change syscall names to match kernel __NR_* constants. This reverts commit ddcf54969d253582ab2cfdcab8ede9cdae3fb171. * linux/arm/syscallent.h [82]: Rename "oldselect" to "select". [142]: Rename "select" to "_newselect". * linux/bfin/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/powerpc/syscallent.h [82]: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/hppa/syscallent.h [142]: Rename "select" to "_newselect". * linux/mips/syscallent-n32.h [6022]: Rename "select" to "_newselect". * linux/mips/syscallent-n64.h [5022]: Likewise. * linux/mips/syscallent-o32.h [4142]: Likewise. * linux/s390/syscallent.h [142]: Rename "select" to "_newselect". * linux/sparc/syscallent.h [230]: Rename "select" to "_newselect". * tests/oldselect.test: Rename oldselect to select. Convert from match_grep to match_diff. * tests/oldselect.expected: Likewise. * xselect.c: New file, based on select.c. * tests/_newselect.c: New file. * tests/select.c: Replace with a wrapper around xselect.c. * tests/select.test: Parametrize. * tests/_newselect.test: New test. * tests/Makefile.am (check_PROGRAMS): Add _newselect. (TESTS): Add _newselect.test. (EXTRA_DIST): Add xselect.c. * tests/.gitignore: Add _newselect.
3 lines
71 B
Plaintext
3 lines
71 B
Plaintext
select(2, [1], [0], NULL, {0, 42}) = 0 (Timeout)
|
|
+++ exited with 0 +++
|