tests/strace-S.test: enhance error diagnostics

* tests/strace-S.test: If strace output does not meet expectations,
print the output.
1 file changed
tree: fdc466683acb6e81e1301ff8aadc338397279c1a
  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_statfs.c
  55. file.c
  56. file_handle.c
  57. file_ioctl.c
  58. flock.c
  59. flock.h
  60. fs_x_ioctl.c
  61. fstatfs.c
  62. fstatfs64.c
  63. futex.c
  64. gcc_compat.h
  65. generate_mpers_am.sh
  66. generate_sen.sh
  67. generate_xlat_in.sh
  68. get_robust_list.c
  69. getcpu.c
  70. getcwd.c
  71. getrandom.c
  72. git-set-file-times
  73. git-version-gen
  74. gitlog-to-changelog
  75. HACKING-scripts
  76. hdio.c
  77. hostname.c
  78. inotify.c
  79. INSTALL
  80. io.c
  81. ioctl.c
  82. ioctlsort.c
  83. ioperm.c
  84. iopl.c
  85. ioprio.c
  86. ipc_defs.h
  87. ipc_msg.c
  88. ipc_msgctl.c
  89. ipc_sem.c
  90. ipc_shm.c
  91. ipc_shmctl.c
  92. kcmp.c
  93. kernel_types.h
  94. kexec.c
  95. keyctl.c
  96. ldt.c
  97. link.c
  98. lookup_dcookie.c
  99. loop.c
  100. lseek.c
  101. make-dist
  102. Makefile.am
  103. mem.c
  104. membarrier.c
  105. memfd_create.c
  106. mknod.c
  107. mount.c
  108. mpers.awk
  109. mpers.sh
  110. mpers_test.sh
  111. mpers_type.h
  112. mq.c
  113. mtd.c
  114. native_defs.h
  115. net.c
  116. NEWS
  117. numa.c
  118. open.c
  119. or1k_atomic.c
  120. pathtrace.c
  121. perf.c
  122. personality.c
  123. poll.c
  124. prctl.c
  125. print_mq_attr.c
  126. print_msgbuf.c
  127. print_sigevent.c
  128. print_statfs.c
  129. print_time.c
  130. print_timex.c
  131. printmode.c
  132. printrusage.c
  133. printsiginfo.c
  134. printsiginfo.h
  135. printstat.h
  136. process.c
  137. process_vm.c
  138. ptp.c
  139. ptrace.h
  140. quota.c
  141. readahead.c
  142. readlink.c
  143. README
  144. README-hacking
  145. README-linux-ptrace
  146. README-mpers
  147. README.md
  148. reboot.c
  149. regs.h
  150. renameat.c
  151. resource.c
  152. rtc.c
  153. sched.c
  154. scsi.c
  155. seccomp.c
  156. seccomp_fprog.h
  157. sendfile.c
  158. sigaltstack.c
  159. sigevent.h
  160. signal.c
  161. signalent.sh
  162. signalfd.c
  163. sigreturn.c
  164. sock.c
  165. socketutils.c
  166. sram_alloc.c
  167. statfs.c
  168. statfs.h
  169. statfs64.c
  170. strace-graph
  171. strace-log-merge
  172. strace.1
  173. strace.c
  174. strace.spec
  175. swapon.c
  176. sync_file_range.c
  177. sync_file_range2.c
  178. syscall.c
  179. syscallent.sh
  180. sysctl.c
  181. sysinfo.c
  182. syslog.c
  183. sysmips.c
  184. term.c
  185. time.c
  186. times.c
  187. travis-ci.sh
  188. truncate.c
  189. ubi.c
  190. uid.c
  191. uid16.c
  192. umask.c
  193. umount.c
  194. uname.c
  195. unwind.c
  196. upeek.c
  197. userfaultfd.c
  198. util.c
  199. utime.c
  200. utimes.c
  201. v4l2.c
  202. vsprintf.c
  203. wait.c
  204. xattr.c
  205. xlat.h
  206. xlate.el
  207. 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