Dmitry V. Levin
4774f8239b
* tests/readv.c (main): Check decoding of empty, inaccessible, and partially inaccessible iovec arrays. * tests/readv.test: Update.
14 lines
231 B
Bash
Executable File
14 lines
231 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check decoding of readv and writev syscalls.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -a16 -eread=0 -ewrite=1 -ereadv,writev $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|
|
|
|
exit 0
|