#!/bin/sh

# Check how network syscalls are traced when decoding socket descriptors

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

# strace -y is implemented using /proc/self/fd
[ -d /proc/self/fd/ ] ||
	framework_skip_ '/proc/self/fd/ is not available'

run_prog ./net-accept-connect net-fd-local-stream
# using -y to test socket descriptors 'paths' decoding
run_strace_merge -y -enetwork $args
match_grep

exit 0