tests: use terse notation in designated initializers where appropriate

* tests/btrfs.c (btrfs_test_dev_replace_ioctl): Initialize
struct btrfs_ioctl_dev_replace_args using terse notation.
* tests/clock_nanosleep.c (main): Initialize struct timespec
using terse notation.
* tests/nanosleep.c (main): Likewise.
3 files changed
tree: a88b2de8a98c114e27efdb9e30687acaabe44c09
  1. debian/
  2. linux/
  3. m4/
  4. maint/
  5. qemu_multiarch_testing/
  6. test/
  7. tests/
  8. xlat/
  9. .gitignore
  10. .mailmap
  11. .travis.yml
  12. access.c
  13. affinity.c
  14. aio.c
  15. alpha.c
  16. AUTHORS
  17. bjm.c
  18. block.c
  19. bootstrap
  20. bpf.c
  21. btrfs.c
  22. build_static_example.sh
  23. cacheflush.c
  24. capability.c
  25. caps0.h
  26. caps1.h
  27. ChangeLog-CVS
  28. chdir.c
  29. chmod.c
  30. clone.c
  31. configure.ac
  32. copy_file_range.c
  33. COPYING
  34. count.c
  35. CREDITS.in
  36. defs.h
  37. desc.c
  38. dirent.c
  39. dirent64.c
  40. empty.h
  41. epoll.c
  42. errnoent.sh
  43. evdev.c
  44. eventfd.c
  45. execve.c
  46. exit.c
  47. fadvise.c
  48. fallocate.c
  49. fanotify.c
  50. fchownat.c
  51. fcntl.c
  52. fetch_seccomp_fprog.c
  53. fetch_struct_flock.c
  54. fetch_struct_mmsghdr.c
  55. fetch_struct_msghdr.c
  56. fetch_struct_statfs.c
  57. file.c
  58. file_handle.c
  59. file_ioctl.c
  60. flock.c
  61. flock.h
  62. fs_x_ioctl.c
  63. fstatfs.c
  64. fstatfs64.c
  65. futex.c
  66. gcc_compat.h
  67. generate_mpers_am.sh
  68. generate_sen.sh
  69. generate_xlat_in.sh
  70. get_robust_list.c
  71. getcpu.c
  72. getcwd.c
  73. getrandom.c
  74. git-set-file-times
  75. git-version-gen
  76. gitlog-to-changelog
  77. HACKING-scripts
  78. hdio.c
  79. hostname.c
  80. inotify.c
  81. INSTALL
  82. io.c
  83. ioctl.c
  84. ioctlsort.c
  85. ioperm.c
  86. iopl.c
  87. ioprio.c
  88. ipc.c
  89. ipc_defs.h
  90. ipc_msg.c
  91. ipc_msgctl.c
  92. ipc_sem.c
  93. ipc_shm.c
  94. ipc_shmctl.c
  95. kcmp.c
  96. kernel_types.h
  97. kexec.c
  98. keyctl.c
  99. ldt.c
  100. link.c
  101. lookup_dcookie.c
  102. loop.c
  103. lseek.c
  104. make-dist
  105. make-dsc
  106. Makefile.am
  107. mem.c
  108. membarrier.c
  109. memfd_create.c
  110. mknod.c
  111. mmsghdr.c
  112. mount.c
  113. mpers.awk
  114. mpers.sh
  115. mpers_test.sh
  116. mpers_type.h
  117. mq.c
  118. msghdr.c
  119. msghdr.h
  120. mtd.c
  121. native_defs.h
  122. net.c
  123. netlink.c
  124. NEWS
  125. numa.c
  126. open.c
  127. or1k_atomic.c
  128. pathtrace.c
  129. perf.c
  130. personality.c
  131. poll.c
  132. prctl.c
  133. print_mq_attr.c
  134. print_msgbuf.c
  135. print_sigevent.c
  136. print_statfs.c
  137. print_time.c
  138. print_timex.c
  139. printmode.c
  140. printrusage.c
  141. printsiginfo.c
  142. printsiginfo.h
  143. printstat.h
  144. process.c
  145. process_vm.c
  146. ptp.c
  147. ptrace.h
  148. quota.c
  149. readahead.c
  150. readlink.c
  151. README
  152. README-hacking
  153. README-linux-ptrace
  154. README-mpers
  155. README.md
  156. reboot.c
  157. regs.h
  158. renameat.c
  159. resource.c
  160. rtc.c
  161. sched.c
  162. scsi.c
  163. seccomp.c
  164. seccomp_fprog.h
  165. sendfile.c
  166. sigaltstack.c
  167. sigevent.h
  168. signal.c
  169. signalent.sh
  170. signalfd.c
  171. sigreturn.c
  172. sock.c
  173. sockaddr.c
  174. socketcall.c
  175. socketutils.c
  176. sram_alloc.c
  177. statfs.c
  178. statfs.h
  179. statfs64.c
  180. strace-graph
  181. strace-log-merge
  182. strace.1
  183. strace.c
  184. strace.spec.in
  185. swapon.c
  186. sync_file_range.c
  187. sync_file_range2.c
  188. syscall.c
  189. syscallent.sh
  190. sysctl.c
  191. sysinfo.c
  192. syslog.c
  193. sysmips.c
  194. term.c
  195. time.c
  196. times.c
  197. travis-build.sh
  198. travis-install.sh
  199. travis-success.sh
  200. truncate.c
  201. ubi.c
  202. uid.c
  203. uid16.c
  204. umask.c
  205. umount.c
  206. uname.c
  207. unwind.c
  208. upeek.c
  209. userfaultfd.c
  210. util.c
  211. utime.c
  212. utimes.c
  213. v4l2.c
  214. vsprintf.c
  215. wait.c
  216. xattr.c
  217. xlat.h
  218. xlate.el
  219. xmalloc.c
README.md

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.

Build Status Code Coverage