blob: 52b9f170fab750a2eebb6b75d55050f6cc1c253e [file] [log] [blame]
#!/bin/sh
# Check select syscall decoding.
. "${srcdir=.}/init.sh"
syscall=
$STRACE -epselect6 -h > /dev/null && syscall=$syscall,pselect6
$STRACE -eselect -h > /dev/null && syscall=$syscall,select
test -n "$syscall" ||
fail_ 'neither select not pselect6 syscall is supported on this architecture'
run_prog
run_strace -e$syscall $args
match_awk
exit 0