Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
2105a9737c49a6a5e96b6a025514f08d8db7ef7b
/
.
/
tests
/
nanosleep.test
blob: 25c94acb9f5fa768a708841aad4d3266b889965e [
file
] [
log
] [
blame
]
#!/bin/sh
# Check nanosleep syscall decoding.
.
"${srcdir=.}/init.sh"
run_prog
>
/
dev
/
null
OUT
=
"$LOG.out"
syscalls
=
nanosleep
,
setitimer
run_strace
-
a20
-
e trace
=
$syscalls $args
>
"$OUT"
match_diff
"$LOG"
"$OUT"
rm
-
f
"$OUT"
exit
0