]> granicus.if.org Git - strace/blob - tests/utimes.c
strace: terminate itself if interrupted by a signal
[strace] / tests / utimes.c
1 /*
2  * Check decoding of utimes syscall.
3  *
4  * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@altlinux.org>
5  * All rights reserved.
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9
10 #include "tests.h"
11 #include <asm/unistd.h>
12
13 #ifdef __NR_utimes
14
15 # define TEST_SYSCALL_NR        __NR_utimes
16 # define TEST_SYSCALL_STR       "utimes"
17 # define TEST_STRUCT            struct timeval
18 # include "xutimes.c"
19
20 #else
21
22 SKIP_MAIN_UNDEFINED("__NR_utimes")
23
24 #endif