commit | ad109aba29f3594eac6202fbb8550b20f372d64e | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Aug 11 22:31:08 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Aug 12 00:07:54 2016 +0000 |
tree | 180ccaf809bc2ec327add257aaa03455093fffff | |
parent | 67ee3d6184ba74b06f99649da06cda1aa62e1aef [diff] |
tests: fix *stat64 tests on alpha On some architectures including alpha, <asm/stat.h> provides a definition of struct stat that has no st_atime_nsec, st_mtime_nsec, and st_ctime_nsec fields. At the same time, struct stat64 always has these fields. Fix tests to take this difference into account. * tests/fstat64.c (STRUCT_STAT_IS_STAT64): New macro, defined to 1. * tests/lstat64.c (STRUCT_STAT_IS_STAT64): Likewise. * tests/stat64.c (STRUCT_STAT_IS_STAT64): Likewise. * tests/xstatx.c [!STRUCT_STAT] (STRUCT_STAT_IS_STAT64): New macro, defined to 0. [USE_ASM_STAT && STRUCT_STAT_IS_STAT64]: (HAVE_STRUCT_STAT_ST_ATIME_NSEC, HAVE_STRUCT_STAT_ST_CTIME_NSEC, HAVE_STRUCT_STAT_ST_MTIME_NSEC): Redefine to 1.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.