3 # Check decoding of address information (inode[->peer][,path])
4 # associated with unix domain socket descriptors.
6 # Copyright (c) 2014 Masatake YAMATO <yamato@redhat.com>
7 # Copyright (c) 2014-2017 Dmitry V. Levin <ldv@altlinux.org>
10 # SPDX-License-Identifier: GPL-2.0-or-later
12 . "${srcdir=.}/init.sh"
16 run_prog ../netlink_unix_diag
18 run_strace -a22 -yy -eclose,network $args > "$EXP"
20 # Filter out close() calls made by ld.so and libc.
21 sed -n '/socket/,$p' < "$LOG" > "$OUT"
22 match_diff "$OUT" "$EXP"