Dmitry V. Levin | 05a0af6 | 2016-01-20 00:17:02 +0000 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | # Check decoding of readv and writev syscalls. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
9 | run_strace -a30 -eread=0 -ewrite=1 -ereadv,writev $args > "$OUT" | ||||
10 | match_diff "$LOG" "$OUT" | ||||
11 | rm -f "$OUT" | ||||
12 | |||||
13 | exit 0 |