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