Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
socketcall01: Use tst_syscall() instead of custom syscall support det…
…ection Besides it's always better to use API functions instead of reimplementing a wheel it's also needed to fix regression in detecting socketcall() syscall support for archs which does not support it (e.g. x86_64, ARM): socketcall01.c:42: FAIL: socketcall() for TCP stream failed with -1: ENOSYS (38) socketcall01.c:42: FAIL: socketcall() for unix domain dgram failed with -1: ENOSYS (38) socketcall01.c:42: FAIL: socketcall() for Raw socket failed with -1: ENOSYS (38) socketcall01.c:42: FAIL: socketcall() for UDP dgram failed with -1: ENOSYS (38) Fixes: 9e83513 "tst_device.h: Use lapi/syscalls.h instead of <sys/syscall.h>" Fixes: linux-test-project#634 Suggested-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Petr Vorel <pvorel@suse.cz>
- Loading branch information