]> granicus.if.org Git - strace/blob - tests/restart_syscall.test
Remove XLAT_END
[strace] / tests / restart_syscall.test
1 #!/bin/sh
2 #
3 # Check how "resuming interrupted nanosleep" works.
4 #
5 # Copyright (c) 2015-2018 The strace developers.
6 # All rights reserved.
7 #
8 # SPDX-License-Identifier: GPL-2.0-or-later
9
10 . "${srcdir=.}/init.sh"
11
12 run_prog > /dev/null
13 syscalls=nanosleep,restart_syscall
14 run_strace -a20 -e trace=$syscalls $args > "$EXP"
15 match_grep "$LOG" "$EXP"