aboutsummaryrefslogtreecommitdiff
path: root/tests-mx32/ioctl_sock_gifconf.test
blob: 22d7ea46037ac17491100968248dc5a707847bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Check decoding of SIOCGIFCONF ioctl.

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

check_prog grep
run_prog > /dev/null
run_strace -a28 -s1 -eioctl $args > "$EXP"
grep -v '^ioctl([012],' < "$LOG" > "$OUT"
match_diff "$OUT" "$EXP"