1 /*
2 * Check decoding of osf_utimes syscall.
3 *
4 * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@strace.io>
5 * Copyright (c) 2017-2021 The strace developers.
6 * All rights reserved.
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11 #include "tests.h"
12 #include "scno.h"
13
14 #ifdef __NR_osf_utimes
15
16 # define TEST_SYSCALL_NR __NR_osf_utimes
17 # define TEST_SYSCALL_STR "osf_utimes"
18 # define TEST_STRUCT struct timeval32
19 struct timeval32 { int tv_sec, tv_usec; };
20 # include "xutimes.c"
21
22 #else
23
24 SKIP_MAIN_UNDEFINED("__NR_osf_utimes")
25
26 #endif