#!/bin/sh
#
# Check decoding of pipe syscall.
#
# Copyright (c) 2015-2018 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0-or-later

. "./init.sh"

run_prog
run_strace -a13 -epipe $args

check_prog grep
LC_ALL=C grep -x "pipe(.*" "$LOG" > /dev/null ||
	skip_ 'test executable does not use pipe syscall'

match_diff
