1#!/bin/sh
2
3# Check how "resuming interrupted nanosleep" works.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8syscalls=nanosleep,restart_syscall
9run_strace -a20 -e trace=$syscalls $args > "$EXP"
10match_grep "$LOG" "$EXP"
11