]> granicus.if.org Git - strace/blob - tests/gen_tests.in
tests: use fixed timestamps in utime related tests
[strace] / tests / gen_tests.in
1 # Input for gen_tests.sh
2 #
3 # Copyright (c) 2017 The strace developers.
4 # All rights reserved.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9 # 1. Redistributions of source code must retain the above copyright
10 #    notice, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 #    notice, this list of conditions and the following disclaimer in the
13 #    documentation and/or other materials provided with the distribution.
14 # 3. The name of the author may not be used to endorse or promote products
15 #    derived from this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 _newselect
29 accept  -a22
30 accept4 -a37
31 access  -a30 -P access_sample
32 acct    -a20
33 add_key -a30 -s12
34 adjtimex        -a15
35 aio     -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy
36 alarm   -a10
37 bpf     -a20
38 btrfs   +ioctl.test
39 chmod   -a28
40 chown   -a28
41 chown32 -a31
42 chroot  -a24
43 clock_adjtime   -a37
44 clock_nanosleep -e trace=clock_nanosleep,clock_gettime
45 clock_xettime   -a36 -e trace=clock_getres,clock_gettime,clock_settime
46 copy_file_range
47 creat   -a20
48 delete_module   -a23
49 dup     -a8
50 dup2    -a13
51 dup3    -a24
52 epoll_create    -a17
53 epoll_create1   -a28
54 epoll_ctl
55 epoll_pwait
56 epoll_wait      -a26
57 erestartsys     -a34 -e signal=none -e trace=recvfrom
58 execveat
59 execveat-v      -v -e trace=execveat
60 faccessat       -P $NAME.sample
61 fadvise64_64    +fadvise64.test
62 fallocate       -a18
63 fanotify_init
64 fanotify_mark   -a32
65 fchdir  -a11
66 fchmod  -a15
67 fchmodat
68 fchown  -a16
69 fchown32        -a18
70 fchownat
71 fcntl   -a8
72 fcntl64 -a8
73 fdatasync       -a14
74 file_handle     -e trace=name_to_handle_at,open_by_handle_at
75 file_ioctl      +ioctl.test
76 finit_module    -a25
77 flock   -a19
78 fork-f  -a26 -qq -f -e signal=none -e trace=chdir
79 fstat64 +fstat.test
80 fstatat64       -a32 -v -P $NAME.sample -P /dev/full
81 fstatfs +statfs.test
82 fstatfs64       +statfs.test
83 fsync   -a10
84 ftruncate       -a24
85 ftruncate64     -a36
86 futimesat       -a28
87 get_mempolicy   -s3 -a38
88 getcpu  -a25
89 getcwd  -a18
90 getdents        -a22 -v
91 getdents64      -a24 -v
92 getegid +getuid.test
93 getegid32       +getuid.test
94 geteuid +getuid.test
95 geteuid32       +getuid.test
96 getgid  +getuid.test
97 getgid32        +getuid.test
98 getgroups       -a17
99 getgroups32     -a19
100 getpeername     -a27
101 getpgrp -a10
102 getpid  -a9
103 getppid -a10
104 getrandom       -a32 -s3
105 getresgid       -a25
106 getresgid32     -a27
107 getresuid       -a25
108 getresuid32     -a27
109 getrlimit       -a27
110 getrusage       -v
111 getsid  -a10
112 getsockname     -a27
113 gettid  -a9
114 getuid32        +getuid.test
115 getxxid -a10 -e trace=getxpid,getxuid,getxgid
116 inet-cmsg       -e trace=recvmsg
117 init_module     -a27
118 inotify -a23 -e trace=inotify_add_watch,inotify_rm_watch
119 inotify_init1   -a27
120 int_0x80        -a11 -e trace=getgid32
121 ioctl_block     +ioctl.test
122 ioctl_evdev     +ioctl.test
123 ioctl_evdev-v   +ioctl-v.sh
124 ioctl_loop      +ioctl.test
125 ioctl_loop-v    +ioctl-v.sh
126 ioctl_mtd       +ioctl.test
127 ioctl_rtc       +ioctl.test
128 ioctl_rtc-v     +ioctl-v.sh
129 ioctl_scsi      +ioctl.test
130 ioctl_sg_io_v3  +ioctl.test
131 ioctl_sg_io_v4  +ioctl.test
132 ioctl_uffdio    +ioctl.test
133 ioctl_v4l2      +ioctl.test
134 ioperm  -a27
135 iopl    -a8
136 ioprio  -a18 -e trace=ioprio_get,ioprio_set
137 ip_mreq -e trace=setsockopt
138 ipc     -a19
139 ipc_msg +ipc.sh
140 ipc_sem +ipc.sh
141 ipc_shm +ipc.sh
142 kcmp    -a27
143 kexec_file_load -s9
144 kexec_load      -s9
145 keyctl  -a31 -s10
146 kill    -a12 -esignal=none
147 lchown  -a30
148 lchown32        -a32
149 link
150 linkat
151 lookup_dcookie  -a27
152 lstat   -a32 -v -P $NAME.sample -P /dev/full
153 lstat64 -a32 -v -P $NAME.sample -P /dev/full
154 mbind
155 membarrier      -a36
156 memfd_create
157 migrate_pages   -a33
158 mincore -a22
159 mkdir   -a20
160 mkdirat -a28
161 mknod   -a18
162 mknodat -a35
163 mlock   -a20 -e trace=mlock,munlock
164 mlock2
165 mlockall        -a12
166 mmap64  +mmap.test
167 mmsg    -e read=0 -e write=1 -e trace=recvmmsg,sendmmsg
168 mmsg-silent     -a25 -e verbose=none -e trace=sendmmsg,recvmmsg
169 mmsg_name       -a25 -e trace=sendmmsg,recvmmsg
170 mmsg_name-v     -v -a25 -e trace=sendmmsg,recvmmsg
171 mount
172 move_pages      -s3
173 mq      -a32 -e trace=mq_getsetattr,mq_open,mq_unlink
174 mq_sendrecv     -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
175 mq_sendrecv-read        -eread=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
176 mq_sendrecv-write       -ewrite=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
177 msg_control     -a21 -e trace=sendmsg
178 msg_control-v   -v -a21 -e trace=sendmsg
179 msg_name        -a20 -e trace=recvmsg
180 munlockall      -a13
181 nanosleep       -a20
182 net-icmp_filter -e trace=getsockopt,setsockopt
183 net-sockaddr    -a24 -e trace=connect
184 newfstatat      -a32 -v -P $NAME.sample -P /dev/full
185 old_mmap        -a11 -e trace=mmap
186 oldfstat        +fstat.test
187 oldlstat        -a32 -v -P $NAME.sample -P /dev/full
188 oldstat -a32 -v -P $NAME.sample -P /dev/full
189 open    -a30 -P $NAME.sample
190 openat  -P $NAME.sample
191 pause   -a8 -esignal=none
192 perf_event_open -a1
193 perf_event_open_nonverbose      -a34 -e verbose=none -e trace=perf_event_open
194 perf_event_open_unabbrev        -a1 -v -e trace=perf_event_open
195 pipe2   -a15
196 pkey_alloc      -a17
197 pkey_free       -a13
198 pkey_mprotect   -a37
199 ppoll   -s2
200 ppoll-v -v -s2 -e trace=ppoll
201 preadv  -a21
202 preadv-pwritev  -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
203 preadv2-pwritev2        -a22 -eread=0 -ewrite=1 -e trace=preadv2,pwritev2
204 printstr        -e trace=writev
205 prlimit64
206 process_vm_readv        -s5 -a37
207 process_vm_writev       -s5 -a38
208 pselect6
209 ptrace  -a23 -e signal=none
210 pwritev -a22 -s7
211 quotactl
212 quotactl-v      -v -e trace=quotactl
213 quotactl-xfs    -e trace=quotactl
214 quotactl-xfs-v  -v -e trace=quotactl
215 readahead       -a1
216 readdir -a16
217 readlink        -xx
218 readlinkat      -xx
219 reboot
220 recvfrom        -a35
221 recvmmsg-timeout        -a25 -e trace=recvmmsg
222 recvmsg -eread=0 -ewrite=1 -e trace=recvmsg,sendmsg
223 remap_file_pages
224 rename  -a35
225 renameat
226 renameat2
227 request_key     -a33 -s12
228 rmdir   -a22
229 rt_sigpending   -a20
230 rt_sigprocmask
231 rt_sigqueueinfo -esignal=none
232 rt_sigreturn    -esignal='!USR1'
233 rt_sigsuspend   -a20 -esignal=none
234 rt_sigtimedwait -a38
235 rt_tgsigqueueinfo       -esignal=none
236 sched_get_priority_mxx  -a33 -e trace=sched_get_priority_min,sched_get_priority_max
237 sched_rr_get_interval   -a31
238 sched_xetaffinity       -a28 -e trace=sched_getaffinity,sched_setaffinity
239 sched_xetattr   -a29 -e trace=sched_getattr,sched_setattr
240 sched_xetparam  -a23 -e trace=sched_getparam,sched_setparam
241 sched_xetscheduler      -a22 -e trace=sched_getscheduler,sched_setscheduler
242 sched_yield     -a14
243 seccomp-filter  -e trace=seccomp
244 seccomp-filter-v        -v -e trace=seccomp
245 select  -a36
246 semop   -a32 -e trace=semop,semtimedop
247 sendfile        -a27
248 sendfile64      -a29
249 set_mempolicy   -s3 -a35
250 setdomainname   -a24
251 setfsgid        -a12
252 setfsgid32      -a14
253 setfsuid        -a12
254 setfsuid32      -a14
255 setgid  -a10
256 setgid32        -a12
257 setgroups       -s2 -a17
258 setgroups32     -s2 -a19
259 sethostname     -a22
260 setns   -a21
261 setregid        -a15
262 setregid32      -a17
263 setresgid       -a19
264 setresgid32     -a21
265 setresuid       -a19
266 setresuid32     -a21
267 setreuid        -a15
268 setreuid32      -a17
269 setrlimit       -a27
270 setuid  -a10
271 setuid32        -a12
272 shmxt   -a11 -e trace=/\\(osf_\\)\\?shmat,shmdt
273 shutdown        -a24
274 siginfo -e trace=none
275 signal_receive  -a16 -e trace=kill
276 signalfd4
277 sigreturn       -esignal='!USR1'
278 socketcall      -a20
279 splice
280 stat    -a32 -v -P $NAME.sample -P /dev/full
281 stat64  -a32 -v -P $NAME.sample -P /dev/full
282 statfs64        +statfs.test
283 statx   -a32 -v -P $NAME.sample -P /dev/full
284 swap    -a23 -e trace=swapon,swapoff
285 symlink -a34
286 symlinkat
287 sync    -a7
288 sync_file_range
289 sync_file_range2
290 sysinfo -a14
291 syslog  -a36
292 tee
293 time    -a10
294 timer_create
295 timer_xettime   -e trace=timer_create,timer_settime,timer_gettime
296 timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime
297 times   -esignal=none
298 times-fail      -a12 -e trace=times
299 truncate
300 truncate64
301 ugetrlimit      -a28
302 umask   -a11
303 umoven-illptr   -a36 -e trace=nanosleep
304 umovestr-illptr -a11 -e trace=chdir
305 umovestr3       -a14 -e trace=chdir
306 unlink  -a24
307 unlinkat        -a35
308 unshare -a11
309 userfaultfd     -a38
310 ustat   -a33
311 utime   -a 16 -e trace=utime
312 utimes  -a21
313 vfork-f -a26 -qq -f -e signal=none -e trace=chdir
314 vhangup -a10
315 vmsplice        -ewrite=1
316 wait4   -esignal=none
317 wait4-v -v -e signal=none -e trace=wait4
318 waitid  -esignal=none
319 waitid-v        -v -e signal=none -e trace=waitid
320 waitpid -a28
321 xattr   -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr
322 xattr-strings   -a22 -s 4 -e trace=fsetxattr
323 xet_robust_list -a24 -e trace=get_robust_list,set_robust_list
324 xetitimer       -a29 -e trace=setitimer,getitimer
325 xetpgid -a11 -e trace=getpgid,setpgid
326 xetpriority     -a29 -e trace=getpriority,setpriority
327 xettimeofday    -a20 -e trace=gettimeofday,settimeofday