Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
dfea1da0e6361e80b66a9ef7d9e0f35518a7629c
/
.
/
tests
/
getrandom.test
blob: c4586e1d76feec4d8ed79e61616eba7f22f5b462 [
file
] [
log
] [
blame
]
#!/bin/sh
# Check getrandom syscall decoding.
.
"${srcdir=.}/init.sh"
run_prog
>
/
dev
/
null
OUT
=
"$LOG.out"
run_strace
-
e getrandom
-
xx
-
s3
-
a32 $args
>
"$OUT"
match_diff
"$LOG"
"$OUT"
rm
-
f
"$OUT"
exit
0