]> granicus.if.org Git - strace/blob - tests/lstat64.c
tests: change the license to GPL-2.0-or-later
[strace] / tests / lstat64.c
1 /*
2  * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
3  * Copyright (c) 2015-2017 The strace developers.
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8
9 #include "tests.h"
10 #include <asm/unistd.h>
11
12 #ifdef __NR_lstat64
13
14 # define TEST_SYSCALL_NR __NR_lstat64
15 # define TEST_SYSCALL_STR "lstat64"
16 # define STRUCT_STAT struct stat64
17 # define STRUCT_STAT_STR "struct stat64"
18 # define STRUCT_STAT_IS_STAT64 1
19 # include "lstatx.c"
20
21 #else
22
23 SKIP_MAIN_UNDEFINED("__NR_lstat64")
24
25 #endif