1#!/bin/sh
2
3# Check pipe/pipe2 syscalls decoding.
4
5. "${srcdir=.}/init.sh"
6
7syscall=pipe2
8for n in pipe; do
9	$STRACE -e$n -h > /dev/null && syscall=$syscall,$n
10done
11
12run_prog
13run_strace -e$syscall $args
14match_grep
15
16exit 0
17