#!/bin/sh
#
# Check whether -c counts through forks and clones properly.
#
# Copyright (c) 2016-2020 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0-or-later

. "${srcdir=.}/init.sh"

run_prog
run_strace -e silent=attach -f -c $args
match_grep

exit 0
