1#!/bin/sh
2
3# Check select syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7syscall=
8$STRACE -epselect6 -h > /dev/null && syscall=$syscall,pselect6
9$STRACE -eselect -h > /dev/null && syscall=$syscall,select
10test -n "$syscall" ||
11	fail_ 'neither select not pselect6 syscall is supported on this architecture'
12
13run_prog
14run_strace -e$syscall $args
15match_awk
16
17exit 0
18