]> granicus.if.org Git - strace/blobdiff - tests/fstatx.c
tests: extend TEST_NETLINK_OBJECT macro
[strace] / tests / fstatx.c
index 5749e069116c45d4c6f0d8568c4528f194940f65..70804af3cb1803c283e20b9f93375e114081c4be 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -25,6 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#define IS_FSTAT 1
 #define TEST_SYSCALL_INVOKE(sample, pst) \
        syscall(TEST_SYSCALL_NR, 0, pst)
 #define PRINT_SYSCALL_HEADER(sample) \
@@ -36,6 +38,4 @@
                printf(") = %s\n", sprintrc(rc)); \
        } while (0)
 
-#define USE_ASM_STAT
-
 #include "xstatx.c"