#!/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