10 lines
220 B
Bash
Executable file
10 lines
220 B
Bash
Executable file
#!/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 > "$EXP"
|
|
match_grep "$LOG" "$EXP"
|