]> granicus.if.org Git - strace/blobdiff - tests/stat64.c
tests: extend TEST_NETLINK_OBJECT macro
[strace] / tests / stat64.c
index dc90184c1e8b8840cc9767c3163cd5d15d5136ea..74927ded4f9600f4d36efd0560d45bfa0dbb2acd 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2016 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
  */
 
 #include "tests.h"
-#include <sys/syscall.h>
+#include <asm/unistd.h>
 
 #ifdef __NR_stat64
 
-# define TEST_SYSCALL_NAME stat64
+# define TEST_SYSCALL_NR __NR_stat64
+# define TEST_SYSCALL_STR "stat64"
 # define STRUCT_STAT struct stat64
-# define SAMPLE_SIZE ((libc_off_t) 43147718418)
+# define STRUCT_STAT_STR "struct stat64"
+# define STRUCT_STAT_IS_STAT64 1
 # include "lstatx.c"
 
 #else