summaryrefslogtreecommitdiff
path: root/tests/mkdirat.c
blob: 626e56f822753fc9330e9e3c7bdb78e03d12c31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2016-2018 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "tests.h"
#include "scno.h"

#ifdef __NR_mkdirat

# define TEST_SYSCALL_NR		__NR_mkdirat
# define TEST_SYSCALL_STR		"mkdirat"
# define TEST_SYSCALL_PREFIX_ARGS	(long int) 0xdeadbeefffffffffULL,
# define TEST_SYSCALL_PREFIX_STR	"-1, "
# include "umode_t.c"

#else

SKIP_MAIN_UNDEFINED("__NR_mkdirat")

#endif