]> granicus.if.org Git - strace/blob - tests/restart_syscall.test
tests: move definitions of $OUT and $ERR to init.sh
[strace] / tests / restart_syscall.test
1 #!/bin/sh
2
3 # Check how "resuming interrupted nanosleep" works.
4
5 . "${srcdir=.}/init.sh"
6
7 run_prog > /dev/null
8 syscalls=nanosleep,restart_syscall
9 run_strace -a20 -e trace=$syscalls $args > "$OUT"
10 match_grep "$LOG" "$OUT"
11 rm -f "$OUT"
12
13 exit 0