Dmitry V. Levin | 93c9d1c | 2016-01-20 03:26:37 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check decoding of recvmsg and sendmsg syscalls. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
9 | run_strace -eread=0 -ewrite=1 -erecvmsg,sendmsg $args > "$OUT" | ||||
10 | match_diff "$LOG" "$OUT" | ||||
11 | rm -f "$OUT" | ||||
12 | |||||
13 | exit 0 |