We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
16 lines
341 B
Bash
Executable File
16 lines
341 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Check how "resuming interrupted nanosleep" works.
|
|
#
|
|
# Copyright (c) 2015-2018 The strace developers.
|
|
# All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
syscalls=nanosleep,restart_syscall
|
|
run_strace -a20 -e trace=$syscalls $args > "$EXP"
|
|
match_grep "$LOG" "$EXP"
|