Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
aaa7a77b5f79ec3b99806f5de9abdb5d70516b1d
/
.
/
tests
/
restart_syscall.test
blob: 6dfda1686cfe063f1c8725d7ec82eaea7395f882 [
file
] [
log
] [
blame
]
#!/bin/sh
# Check how "resuming interrupted nanosleep" works.
.
"${srcdir=.}/init.sh"
run_prog
>
/
dev
/
null
syscalls
=
nanosleep
,
restart_syscall
run_strace
-
a20
-
e trace
=
$syscalls $args
>
"$OUT"
match_grep
"$LOG"
"$OUT"
rm
-
f
"$OUT"
exit
0