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