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 11 run_prog ./net-accept-connect net-fd-local-stream 12 # using -y to test socket descriptors 'paths' decoding 13 run_strace_merge -y -enetwork $args 14 match_grep 15 16 exit 0 17