Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
dfea1da0e6361e80b66a9ef7d9e0f35518a7629c
/
.
/
tests
/
readv.test
blob: 6a071e388b16d86b31447a7f2b247207dc1b707f [
file
] [
log
] [
blame
]
#!/bin/sh
# Check decoding of readv and writev syscalls.
.
"${srcdir=.}/init.sh"
run_prog
>
/
dev
/
null
OUT
=
"$LOG.out"
run_strace
-
a30
-
eread
=
0
-
ewrite
=
1
-
ereadv
,
writev $args
>
"$OUT"
match_diff
"$LOG"
"$OUT"
rm
-
f
"$OUT"
exit
0