1#!/bin/sh 2 3# Check how network syscalls are traced when decoding socket descriptors 4 5. "${srcdir=.}/init.sh" 6 7# strace -y is implemented using /proc/self/fd 8[ -d /proc/self/fd/ ] || 9 framework_skip_ '/proc/self/fd/ is not available' 10 11run_prog ./net-accept-connect net-fd-local-stream 12# using -y to test socket descriptors 'paths' decoding 13run_strace_merge -y -enetwork $args 14match_grep 15 16exit 0 17