blob: cb0a3408f6323799b2e54bd8cbca008ab77bd4e0 [file] [log] [blame]
robbiew1f254532003-03-28 22:07:58 +00001#DESCRIPTION:Kernel system calls
robbiew9c6f71e2003-03-14 16:01:51 +00002abort01 ulimit -c 1024;abort01
robbiewa807d042002-12-30 19:54:31 +00003
plarscc1b6f22001-09-05 20:37:07 +00004accept01 accept01
5
6access01 access01
7access02 access02
8access03 access03
9access04 access04
10access05 access05
11
robbiew9a9533a2002-12-04 18:00:27 +000012acct01 acct01
13acct02 acct02
14
robbiew5cb61922002-12-24 16:58:29 +000015adjtimex01 adjtimex01
16adjtimex02 adjtimex02
17
plarscc1b6f22001-09-05 20:37:07 +000018alarm01 alarm01
19alarm02 alarm02
20alarm03 alarm03
plarscc1b6f22001-09-05 20:37:07 +000021alarm05 alarm05
22alarm06 alarm06
23alarm07 alarm07
24
25asyncio02 asyncio02
26
27bind01 bind01
robbiew7b782792004-07-06 22:33:21 +000028bind02 bind02
plarscc1b6f22001-09-05 20:37:07 +000029
30brk01 brk01
31
robbiewc9831c92002-12-27 18:42:43 +000032capget01 capget01
33capget02 capget02
34
robbiewa5d67cb2003-01-01 20:44:12 +000035capset01 capset01
36capset02 capset02
37
plarscc1b6f22001-09-05 20:37:07 +000038chdir01 chdir01
39chdir01A symlink01 -T chdir01
40chdir02 chdir02
41chdir03 chdir03
42chdir04 chdir04
43
44chmod01 chmod01
45chmod01A symlink01 -T chmod01
46chmod02 chmod02
47chmod03 chmod03
48chmod04 chmod04
robbiewe71965a2002-08-16 16:48:17 +000049chmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod05
50chmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod06
plarscc1b6f22001-09-05 20:37:07 +000051chmod07 chmod07
52
53chown01 chown01
54chown02 chown02
plars6cf88ad2003-07-30 17:06:02 +000055chown03 export change_owner=$LTPROOT/testcases/bin/change_owner;chown03
robbiewe71965a2002-08-16 16:48:17 +000056chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chown04
plarscc1b6f22001-09-05 20:37:07 +000057chown05 chown05
58
59chroot01 chroot01
60chroot02 chroot02
61chroot03 chroot03
robbiewcfd67962002-05-03 15:51:20 +000062chroot04 chroot04
plarscc1b6f22001-09-05 20:37:07 +000063
robbiewe768ae32003-02-20 21:00:48 +000064
robbiew4da5e4a2002-11-18 20:38:59 +000065clone01 clone01
66clone02 clone02
67clone03 clone03
68clone04 clone04
69clone05 clone05
70clone06 clone06
robbiew3d354b62003-08-01 15:50:34 +000071clone07 clone07
robbiew4da5e4a2002-11-18 20:38:59 +000072
plarscc1b6f22001-09-05 20:37:07 +000073close01 close01
74close02 close02
75close08 close08
76
robbiew3d197e62002-12-04 18:06:18 +000077confstr01 confstr01
78
plarscc1b6f22001-09-05 20:37:07 +000079connect01 connect01
80
81creat01 creat01
82creat03 creat03
83creat04 creat04
84creat05 creat05
85creat06 creat06
robbiewe71965a2002-08-16 16:48:17 +000086creat07 creat07 -F $LTPROOT/testcases/bin/test1
robbiew4dff23d2002-12-30 20:09:58 +000087creat08 creat08
plarscc1b6f22001-09-05 20:37:07 +000088creat09 creat09
89
90dup01 dup01
91dup02 dup02
92dup03 dup03
93dup04 dup04
94dup05 dup05
robbiew6f0fc8b2003-01-09 16:23:00 +000095dup06 dup06
96dup07 dup07
plarscc1b6f22001-09-05 20:37:07 +000097
robbiew3d809452001-09-10 19:40:16 +000098dup201 dup201
plarscc1b6f22001-09-05 20:37:07 +000099dup202 dup202
100dup203 dup203
101dup204 dup204
robbiewefc51aa2002-12-30 20:21:52 +0000102dup205 dup205
plarscc1b6f22001-09-05 20:37:07 +0000103
104execl01 execl01
105execle01 execle01
106execlp01 execlp01
107
108execv01 execv01
109execve01 execve01
robbiewe71965a2002-08-16 16:48:17 +0000110execve02 execve02 -F $LTPROOT/testcases/bin/test3
robbiew5435f932001-09-10 19:56:00 +0000111execve03 execve03
robbiewe71965a2002-08-16 16:48:17 +0000112execve04 cp -f $LTPROOT/testcases/bin/test3 $TMP; execve04 -F test3
113execve05 execve05 -F $LTPROOT/testcases/bin/test3
114execve06 execve06 20 $LTPROOT/testcases/bin/execve06 $LTPROOT/testcases/bin/execve06 4
plarscc1b6f22001-09-05 20:37:07 +0000115execvp01 execvp01
116
117exit01 exit01
118exit02 exit02
119
vapier073ad122006-09-10 10:06:06 +0000120#faccessat test cases
121faccessat01 faccessat01
122
plarscc1b6f22001-09-05 20:37:07 +0000123fchdir01 fchdir01
124fchdir02 fchdir02
robbiewcfd67962002-05-03 15:51:20 +0000125fchdir03 fchdir03
plarscc1b6f22001-09-05 20:37:07 +0000126
127fchmod01 fchmod01
128fchmod02 fchmod02
129fchmod03 fchmod03
130fchmod04 fchmod04
robbiewe71965a2002-08-16 16:48:17 +0000131fchmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod05
132fchmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod06
plarscc1b6f22001-09-05 20:37:07 +0000133fchmod07 fchmod07
134
vapier6c81d772006-09-10 10:04:50 +0000135#fchmodat test cases
136fchmodat01 fchmodat01
137
plarscc1b6f22001-09-05 20:37:07 +0000138fchown01 fchown01
139fchown02 fchown02
robbiewe71965a2002-08-16 16:48:17 +0000140fchown03 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchown03
plars6cf88ad2003-07-30 17:06:02 +0000141fchown04 export change_owner=$LTPROOT/testcases/bin/change_owner;fchown04
plarscc1b6f22001-09-05 20:37:07 +0000142fchown05 fchown05
143
vapier032481e2006-08-24 00:24:45 +0000144#fchownat test case
145fchownat01 fchownat01
146
robbiew91f51982001-09-11 16:48:47 +0000147fcntl01 fcntl01
plarscc1b6f22001-09-05 20:37:07 +0000148fcntl02 fcntl02
149fcntl03 fcntl03
150fcntl04 fcntl04
151fcntl05 fcntl05
152fcntl06 fcntl06
153fcntl07 fcntl07
154fcntl07B fcntl07B
155fcntl08 fcntl08
156fcntl09 fcntl09
157fcntl10 fcntl10
plars6b8cccf2001-09-25 15:26:11 +0000158fcntl11 fcntl11
159fcntl12 fcntl12
160fcntl13 fcntl13
161fcntl14 fcntl14
162fcntl15 fcntl15
robbiew869e9a42005-02-24 22:32:45 +0000163#fcntl16 fcntl16 #Contains errors.
plars6b8cccf2001-09-25 15:26:11 +0000164fcntl17 fcntl17
165fcntl18 fcntl18
166fcntl19 fcntl19
167fcntl20 fcntl20
168fcntl21 fcntl21
robbiew25ae5452004-03-02 22:55:42 +0000169fcntl22 fcntl22
170fcntl23 fcntl23
robbiew7937de62005-05-10 18:15:42 +0000171fcntl24 fcntl24
172fcntl25 fcntl25
173fcntl26 fcntl26
mreed10112fa152006-05-15 17:49:45 +0000174# The tests for these system calls fcntl27 and fcntl28 are temporarily being disabled
175# fcntl27 fcntl27
176# fcntl28 fcntl28
plarscc1b6f22001-09-05 20:37:07 +0000177
robbiew3a6f12b2002-12-20 17:13:14 +0000178fdatasync01 fdatasync01
179fdatasync02 fdatasync02
180
robbiewffd39942002-12-02 18:24:37 +0000181flock01 flock01
182flock02 flock02
plars74693462002-12-03 23:05:29 +0000183flock03 flock03
robbiewd7a33fa2002-12-26 20:23:29 +0000184flock04 flock04
185flock05 flock05
robbiew4483a712003-03-03 16:23:16 +0000186flock06 flock06
robbiewffd39942002-12-02 18:24:37 +0000187
robbiewdc44d2e2002-12-30 21:32:36 +0000188fmtmsg01 fmtmsg01
189
plarscc1b6f22001-09-05 20:37:07 +0000190fork01 fork01
191fork02 fork02
192fork03 fork03
193fork04 fork04
194fork05 fork05
195fork06 fork06
196fork07 fork07
197fork08 fork08
198fork09 fork09
plars6b8cccf2001-09-25 15:26:11 +0000199fork10 fork10
200fork11 fork11
plarscc1b6f22001-09-05 20:37:07 +0000201
202fpathconf01 fpathconf01
203
204fstat01 fstat01
205fstat02 fstat02
206fstat03 fstat03
207fstat04 fstat04
robbiew89572422002-06-05 15:35:34 +0000208fstat05 fstat05
plarscc1b6f22001-09-05 20:37:07 +0000209
vapierd2816c42006-08-24 04:20:05 +0000210#fstatat64/newfstatat test cases
211fstatat01 fstatat01
212
plarscc1b6f22001-09-05 20:37:07 +0000213fstatfs01 fstatfs01
214fstatfs02 fstatfs02
215
216fsync01 fsync01
217fsync02 fsync02
218fsync03 fsync03
219
220ftruncate01 ftruncate01
221ftruncate02 ftruncate02
robbiewe0147e92001-09-12 15:48:14 +0000222ftruncate03 ftruncate03
robbiew41b19692003-01-16 16:03:48 +0000223ftruncate04 ftruncate04
plarscc1b6f22001-09-05 20:37:07 +0000224
vapier6eeb1512006-08-24 04:18:31 +0000225#futimesat test cases
226futimesat01 futimesat01
227
robbiewaf04f6e2005-05-26 20:42:13 +0000228getcontext01 getcontext01
229
plarscc1b6f22001-09-05 20:37:07 +0000230getcwd01 getcwd01
231getcwd02 getcwd02
232getcwd03 getcwd03
233
234getdents01 getdents01
235getdents02 getdents02
236getdents03 getdents03
237getdents04 getdents04
plarscc1b6f22001-09-05 20:37:07 +0000238
robbiew83987632002-11-18 20:54:44 +0000239getdomainname01 getdomainname01
240
robbiew41b868b2005-05-26 19:07:12 +0000241getdtablesize01 getdtablesize01
242
plarscc1b6f22001-09-05 20:37:07 +0000243getegid01 getegid01
244
245geteuid01 geteuid01
246
247getgid01 getgid01
248getgid02 getgid02
249getgid03 getgid03
250
251getgroups01 getgroups01
252getgroups02 getgroups02
253getgroups03 getgroups03
254getgroups04 getgroups04
255
256gethostid01 gethostid01
257
258gethostname01 gethostname01
259
260getitimer01 getitimer01
261getitimer02 getitimer02
262getitimer03 getitimer03
263
robbiew7ba4dfb2005-04-12 22:23:09 +0000264getpagesize01 getpagesize01
265
plarscc1b6f22001-09-05 20:37:07 +0000266getpeername01 getpeername01
267
268getpgid01 getpgid01
269getpgid02 getpgid02
270
271getpgrp01 getpgrp01
272
273getpid01 getpid01
274getpid02 getpid02
275
276getppid01 getppid01
277getppid02 getppid02
278
279getpriority01 getpriority01
280getpriority02 getpriority02
281
282getresgid01 getresgid01
283getresgid02 getresgid02
284getresgid03 getresgid03
285
286getresuid01 getresuid01
287getresuid02 getresuid02
288getresuid03 getresuid03
289
robbiew3dde45d2003-01-08 16:33:11 +0000290getrlimit01 getrlimit01
291getrlimit02 getrlimit02
292
robbiewaa7c2cc2002-12-16 21:22:09 +0000293getrusage01 getrusage01
294getrusage02 getrusage02
295
plarscc1b6f22001-09-05 20:37:07 +0000296getsid01 getsid01
297getsid02 getsid02
298
299getsockname01 getsockname01
300
301getsockopt01 getsockopt01
302
303gettimeofday01 gettimeofday01
nstraz5abf9a92002-05-23 15:39:06 +0000304gettimeofday02 gettimeofday02
plarscc1b6f22001-09-05 20:37:07 +0000305
306getuid01 getuid01
307getuid02 getuid02
308getuid03 getuid03
309
robbiewd1e38432003-07-10 16:42:12 +0000310#Needs tty device.
311#ioctl01 ioctl01 -D /dev/tty0
312#ioctl02 ioctl02 -D /dev/tty0
plarscc1b6f22001-09-05 20:37:07 +0000313
subrata_modak9afc5e52007-05-28 10:48:27 +0000314inotify01 inotify01
315inotify02 inotify02
316
robbiew2db8c7e2003-01-01 20:50:36 +0000317ioperm01 ioperm01
318ioperm02 ioperm02
319
robbiew6f9ec432002-12-30 18:08:19 +0000320iopl01 iopl01
321iopl02 iopl02
322
plarscc1b6f22001-09-05 20:37:07 +0000323kill01 kill01
324kill02 kill02
325kill03 kill03
326kill04 kill04
327kill05 kill05
328kill06 kill06
329kill07 kill07
330kill08 kill08
331kill09 kill09
332kill10 kill10
robbiewed3dbbf2003-03-14 15:58:53 +0000333kill11 ulimit -c 1024;kill11
robbiewe237cd32002-12-31 21:21:45 +0000334kill12 kill12
robbiew9f0e6782003-04-15 17:59:51 +0000335
plarscc1b6f22001-09-05 20:37:07 +0000336lchown01 lchown01
robbiewe71965a2002-08-16 16:48:17 +0000337lchown02 cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02
plarscc1b6f22001-09-05 20:37:07 +0000338
339link01 symlink01 -T link01
340link02 link02
341link03 link03
342link04 link04
343link05 link05
robbiew724848a2002-07-08 16:41:55 +0000344link06 link06
robbiew6bc7e2d2002-07-08 16:47:09 +0000345link07 link07
plarscc1b6f22001-09-05 20:37:07 +0000346
vapieraab2ac02006-09-10 09:59:08 +0000347#linkat test cases
348linkat01 linkat01
349
plarscc1b6f22001-09-05 20:37:07 +0000350listen01 listen01
351
352llseek01 llseek01
353llseek02 llseek02
354
355lseek01 lseek01
356lseek02 lseek02
357lseek03 lseek03
358lseek04 lseek04
359lseek05 lseek05
360lseek06 lseek06
361lseek07 lseek07
362lseek08 lseek08
363lseek09 lseek09
364lseek10 lseek10
365
366lstat01A symlink01 -T lstat01
367lstat01 lstat01
368lstat02 lstat02
robbiewefafa932001-09-12 17:02:12 +0000369lstat03 lstat03
plarscc1b6f22001-09-05 20:37:07 +0000370
robbiew2c012d72003-01-03 21:00:43 +0000371mallopt01 mallopt01
372
robbiew35bd5872003-01-03 20:17:28 +0000373memset01 memset01
robbiew844c8a72003-01-03 20:40:22 +0000374memcmp01 memcmp01
robbiewc6219fd2003-01-03 20:33:32 +0000375memcpy01 memcpy01
robbiew35bd5872003-01-03 20:17:28 +0000376
robbiewb284c112002-11-26 17:24:44 +0000377mlockall01 mlockall01
378mlockall02 mlockall02
robbiewe972ba52005-05-26 19:16:49 +0000379mlockall03 mlockall03
robbiewb284c112002-11-26 17:24:44 +0000380
plarscc1b6f22001-09-05 20:37:07 +0000381mkdir01 mkdir01
382mkdir02 mkdir02
383mkdir03 mkdir03
384mkdir04 mkdir04
robbiewefafa932001-09-12 17:02:12 +0000385mkdir05 mkdir05
plarscc1b6f22001-09-05 20:37:07 +0000386mkdir05A symlink01 -T mkdir05
387mkdir08 mkdir08
robbiewbd756502002-12-04 23:16:31 +0000388mkdir09 mkdir09
plarscc1b6f22001-09-05 20:37:07 +0000389
vapierdfa737c2006-08-24 00:20:29 +0000390#mkdirat test cases
391mkdirat01 mkdir01
392
plarscc1b6f22001-09-05 20:37:07 +0000393mknod01 mknod01
394mknod02 mknod02
395mknod03 mknod03
396mknod04 mknod04
397mknod05 mknod05
398mknod06 mknod06
399mknod07 mknod07
400mknod08 mknod08
robbiew61786512002-06-10 14:59:05 +0000401mknod09 mknod09
plarscc1b6f22001-09-05 20:37:07 +0000402
vapierd780ff62006-08-24 00:23:08 +0000403#mknodat test cases
404mknodat01 mknodat01
405
plarsbd2bbbd2002-06-13 22:16:13 +0000406mlock01 mlock01
407mlock02 mlock02
408
plarscc1b6f22001-09-05 20:37:07 +0000409qmm01 mmap001 -m 1
410mmap01 mmap01
411mmap02 mmap02
412mmap03 mmap03
413mmap04 mmap04
414mmap05 mmap05
415mmap06 mmap06
416mmap07 mmap07
417mmap08 mmap08
plars11556692003-04-09 20:26:41 +0000418mmap09 mmap09
plarscc1b6f22001-09-05 20:37:07 +0000419
robbiew835d5a42001-09-12 18:39:10 +0000420modify_ldt01 modify_ldt01
plarscc1b6f22001-09-05 20:37:07 +0000421modify_ldt02 modify_ldt02
422
robbiew080c2192002-11-26 21:12:07 +0000423#
424# These tests require an unmounted block device
425# to run correctly. Please see individual test
426# code for more information.
427#
428#mount01 mount01 -D /dev/...
429#mount02 mount02 -D /dev/...
430#mount03 mount03 -D /dev/...
431#mount04 mount04 -D /dev/...
432
plarscc1b6f22001-09-05 20:37:07 +0000433mprotect01 mprotect01
434mprotect02 mprotect02
435mprotect03 mprotect03
436
437mremap01 mremap01
438mremap02 mremap02
439mremap03 mremap03
440mremap04 mremap04
441
442msgctl01 msgctl01
443msgctl02 msgctl02
444msgctl03 msgctl03
robbiew4a6976c2001-09-12 19:00:24 +0000445msgctl04 msgctl04
plarscc1b6f22001-09-05 20:37:07 +0000446msgctl05 msgctl05
robbiew577ff1a2002-12-05 20:12:28 +0000447msgctl06 msgctl06
448msgctl07 msgctl07
449msgctl08 msgctl08
450msgctl09 msgctl09
plarscc1b6f22001-09-05 20:37:07 +0000451
452msgget01 msgget01
453msgget02 msgget02
454msgget03 msgget03
robbiew4a6976c2001-09-12 19:00:24 +0000455msgget04 msgget04
plarscc1b6f22001-09-05 20:37:07 +0000456
457msgrcv01 msgrcv01
robbiew4a6976c2001-09-12 19:00:24 +0000458msgrcv02 msgrcv02
plarscc1b6f22001-09-05 20:37:07 +0000459msgrcv03 msgrcv03
460msgrcv04 msgrcv04
461msgrcv05 msgrcv05
462msgrcv06 msgrcv06
463
464msgsnd01 msgsnd01
robbiew4a6976c2001-09-12 19:00:24 +0000465msgsnd02 msgsnd02
plarscc1b6f22001-09-05 20:37:07 +0000466msgsnd03 msgsnd03
467msgsnd04 msgsnd04
468msgsnd05 msgsnd05
469msgsnd06 msgsnd06
470
471msync01 msync01
472msync02 msync02
473msync03 msync03
474msync04 msync04
475msync05 msync05
476
robbiew3e8143e2002-12-02 18:01:15 +0000477munlock01 munlock01
478munlock02 munlock02
479
robbiew5d74ee32002-12-24 17:08:11 +0000480munlockall01 munlockall01
481munlockall02 munlockall02
482
plarscc1b6f22001-09-05 20:37:07 +0000483munmap01 munmap01
484munmap02 munmap02
485munmap03 munmap03
486
487nanosleep01 nanosleep01
488nanosleep02 nanosleep02
489nanosleep03 nanosleep03
490nanosleep04 nanosleep04
491
robbiewfd1cff32002-12-04 18:33:09 +0000492nftw01 nftw01
493nftw6401 nftw6401
494
plarscc1b6f22001-09-05 20:37:07 +0000495nice01 nice01
496nice02 nice02
497nice03 nice03
robbiew4a6976c2001-09-12 19:00:24 +0000498nice04 nice04
plarscc1b6f22001-09-05 20:37:07 +0000499nice05 nice05
500
501open01 open01
502open01A symlink01 -T open01
503open02 open02
504open03 open03
505open04 open04
506open05 open05
507open06 open06
508open07 open07
robbiew4a6976c2001-09-12 19:00:24 +0000509open08 open08
robbiewa2d47322002-12-31 21:58:11 +0000510open09 open09
robbiew3a77e6e2003-01-06 20:43:47 +0000511open10 open10
plarscc1b6f22001-09-05 20:37:07 +0000512
vapier4aaf10b2006-08-24 01:57:40 +0000513#openat test cases
514openat01 openat01
515
mridgeee9951a2004-08-24 18:42:52 +0000516mincore01 mincore01
517#mincore02 mincore02 currently hangs and does not exit correctly
518madvise01 madvise01
519madvise02 madvise02
520
plarscc1b6f22001-09-05 20:37:07 +0000521pathconf01 pathconf01
522
523pause01 pause01
524pause02 pause02
525pause03 pause03
526
robbiewe493ffb2003-12-16 17:23:24 +0000527# The personality() system call is poorly documented
528# and difficult to figure out how to use by looking
529# at the different architecture specific kernel files.
530#personality01 personality01
531#personality02 personality02
plarscc1b6f22001-09-05 20:37:07 +0000532
533pipe01 pipe01
robbiew906d4682003-01-06 17:23:07 +0000534pipe02 pipe02
535pipe03 pipe03
536pipe04 pipe04
plarscc1b6f22001-09-05 20:37:07 +0000537pipe05 pipe05
538pipe06 pipe06
robbiew906d4682003-01-06 17:23:07 +0000539pipe07 pipe07
plarscc1b6f22001-09-05 20:37:07 +0000540pipe08 pipe08
541pipe09 pipe09
542pipe10 pipe10
543pipe11 pipe11
544
545poll01 poll01
546
robbiewea1ca882002-12-19 19:06:19 +0000547prctl01 prctl01
548prctl02 prctl02
robbiewea1ca882002-12-19 19:06:19 +0000549
plarscc1b6f22001-09-05 20:37:07 +0000550pread01 pread01
551pread02 pread02
robbiewcfd67962002-05-03 15:51:20 +0000552pread03 pread03
plarscc1b6f22001-09-05 20:37:07 +0000553
robbiew4f33e5d2002-12-31 22:12:26 +0000554profil01 profil01
555
robbiew3815a9d2005-05-26 15:40:47 +0000556pselect01 pselect01
557
robbiew7aaab4f2002-12-19 18:21:31 +0000558ptrace01 ptrace01
559ptrace02 ptrace02
560ptrace03 ptrace03
561
plarscc1b6f22001-09-05 20:37:07 +0000562pwrite01 pwrite01
robbiew7da6f532001-09-12 21:41:14 +0000563pwrite02 pwrite02
robbiewcfd67962002-05-03 15:51:20 +0000564pwrite03 pwrite03
robbiew3c658152003-01-07 21:50:34 +0000565pwrite04 pwrite04
plarscc1b6f22001-09-05 20:37:07 +0000566
robbiew63cf8532003-02-20 20:42:12 +0000567
plarscc1b6f22001-09-05 20:37:07 +0000568read01 read01
569read02 read02
570read03 read03
571read04 read04
572
573readdir01 readdir01
robbiewcfd67962002-05-03 15:51:20 +0000574readdir02 readdir02
plarscc1b6f22001-09-05 20:37:07 +0000575
576readlink01A symlink01 -T readlink01
plars9d84a3b2001-09-25 16:05:38 +0000577readlink01 readlink01
plarscc1b6f22001-09-05 20:37:07 +0000578readlink02 readlink02
robbiewf1cd2d52001-09-10 21:15:34 +0000579readlink03 readlink03
robbiewe71965a2002-08-16 16:48:17 +0000580readlink04 cp -f $LTPROOT/testcases/bin/creat_slink $TMP; readlink04
plarscc1b6f22001-09-05 20:37:07 +0000581
vapier8a63ecb2006-09-10 10:03:21 +0000582#readlinkat test cases
583readlinkat01 readlinkat01
584
plarscc1b6f22001-09-05 20:37:07 +0000585readv01 readv01
586readv02 readv02
robbiewcd243f22002-05-21 17:06:02 +0000587readv03 readv03
plarscc1b6f22001-09-05 20:37:07 +0000588
robbiew4e03a3c2002-12-24 17:15:09 +0000589reboot01 reboot01
590reboot02 reboot02
591
robbiew2b3dc622001-09-10 19:33:45 +0000592recv01 recv01
plarscc1b6f22001-09-05 20:37:07 +0000593
robbiew3b67df92001-09-13 16:36:25 +0000594recvfrom01 recvfrom01
plarscc1b6f22001-09-05 20:37:07 +0000595
robbiew3b67df92001-09-13 16:36:25 +0000596recvmsg01 recvmsg01
plarscc1b6f22001-09-05 20:37:07 +0000597
598rename01 rename01
599rename01A symlink01 -T rename01
600rename02 rename02
601rename03 rename03
602rename04 rename04
603rename05 rename05
604rename06 rename06
605rename07 rename07
606rename08 rename08
robbiew528f4282001-09-18 17:10:50 +0000607rename09 rename09
plarscc1b6f22001-09-05 20:37:07 +0000608rename10 rename10
robbiew528f4282001-09-18 17:10:50 +0000609rename12 rename12
plarscc1b6f22001-09-05 20:37:07 +0000610rename13 rename13
robbiew717b4302002-12-04 18:40:58 +0000611rename14 rename14
plarscc1b6f22001-09-05 20:37:07 +0000612
vapierb0493c82006-09-10 09:57:28 +0000613#renameat test cases
614renameat01 renameat01
615
plarscc1b6f22001-09-05 20:37:07 +0000616rmdir01 rmdir01
robbiewed0977d2001-09-13 19:04:48 +0000617rmdir02 rmdir02
plarscc1b6f22001-09-05 20:37:07 +0000618rmdir03 rmdir03
619rmdir03A symlink01 -T rmdir03
620rmdir04 rmdir04
621rmdir05 rmdir05
622
623sbrk01 sbrk01
624
plarsfb9883e2002-12-06 22:57:32 +0000625sched_get_priority_max01 sched_get_priority_max01
626sched_get_priority_max02 sched_get_priority_max02
627
628sched_get_priority_min01 sched_get_priority_min01
629sched_get_priority_min02 sched_get_priority_min02
630
631sched_getparam01 sched_getparam01
632sched_getparam02 sched_getparam02
633sched_getparam03 sched_getparam03
634
robbiew5d7ec242002-12-24 16:51:53 +0000635sched_rr_get_interval01 sched_rr_get_interval01
636sched_rr_get_interval02 sched_rr_get_interval02
637sched_rr_get_interval03 sched_rr_get_interval03
638
plarsfb9883e2002-12-06 22:57:32 +0000639sched_setparam01 sched_setparam01
640sched_setparam02 sched_setparam02
641sched_setparam03 sched_setparam03
642sched_setparam04 sched_setparam04
643sched_setparam05 sched_setparam05
644
plarscc1b6f22001-09-05 20:37:07 +0000645sched_getscheduler01 sched_getscheduler01
646sched_getscheduler02 sched_getscheduler02
647
648sched_setscheduler01 sched_setscheduler01
649sched_setscheduler02 sched_setscheduler02
650
651sched_yield01 sched_yield01
652
653select01 select01
654select02 select02
655select03 select03
656
657semctl01 semctl01
robbiewed0977d2001-09-13 19:04:48 +0000658semctl02 semctl02
plarscc1b6f22001-09-05 20:37:07 +0000659semctl03 semctl03
plarsfea01722002-01-21 20:27:31 +0000660semctl04 semctl04
plarscc1b6f22001-09-05 20:37:07 +0000661semctl05 semctl05
robbiewbc5f6662002-12-05 20:23:49 +0000662semctl06 semctl06
663semctl07 semctl07
plarscc1b6f22001-09-05 20:37:07 +0000664
665semget01 semget01
666semget02 semget02
667semget03 semget03
668semget05 semget05
669semget06 semget06
670
671semop01 semop01
672semop02 semop02
673semop03 semop03
674semop04 semop04
675semop05 semop05
676
677send01 send01
678
plarscc1b6f22001-09-05 20:37:07 +0000679sendfile02 sendfile02
robbiew281272a2001-09-25 17:28:40 +0000680sendfile03 sendfile03
plarscc1b6f22001-09-05 20:37:07 +0000681
682sendmsg01 sendmsg01
683
684sendto01 sendto01
685
plarsd758be32002-11-01 15:59:31 +0000686setdomainname01 setdomainname01
687setdomainname02 setdomainname02
688setdomainname03 setdomainname03
689
plarscc1b6f22001-09-05 20:37:07 +0000690setfsgid01 setfsgid01
mridgedf9ae7e2004-05-21 14:51:40 +0000691setfsgid02 setfsgid02
692setfsgid03 setfsgid03
plarscc1b6f22001-09-05 20:37:07 +0000693
694setfsuid01 setfsuid01
mridgedf9ae7e2004-05-21 14:51:40 +0000695setfsuid02 setfsuid02
696setfsuid03 setfsuid03
plarscc1b6f22001-09-05 20:37:07 +0000697
698setgid01 setgid01
699setgid02 setgid02
700setgid03 setgid03
701
robbiew26e72a02003-04-08 15:40:07 +0000702setegid01 setegid01
703
plarscc1b6f22001-09-05 20:37:07 +0000704setgroups01 setgroups01
705setgroups02 setgroups02
706setgroups03 setgroups03
robbiew89572422002-06-05 15:35:34 +0000707setgroups04 setgroups04
plarscc1b6f22001-09-05 20:37:07 +0000708
plars2be4eff2002-11-01 15:44:39 +0000709sethostname01 sethostname01
710sethostname02 sethostname02
711sethostname03 sethostname03
712
plarscc1b6f22001-09-05 20:37:07 +0000713setitimer01 setitimer01
714setitimer02 setitimer02
715setitimer03 setitimer03
716
717setpgid01 setpgid01
718setpgid02 setpgid02
719setpgid03 setpgid03
720
721setpgrp01 setpgrp01
722setpgrp02 setpgrp02
723
724setpriority01 setpriority01
725setpriority02 setpriority02
726setpriority03 setpriority03
727setpriority04 setpriority04
728setpriority05 setpriority05
729
730setregid01 setregid01
robbiew2b3dc622001-09-10 19:33:45 +0000731setregid02 setregid02
732setregid03 setregid03
733setregid04 setregid04
plarscc1b6f22001-09-05 20:37:07 +0000734
robbiew802eb8b2002-12-27 18:47:45 +0000735setresgid01 setresgid01
736setresgid02 setresgid02
737setresgid03 setresgid03
738
robbiew2b3dc622001-09-10 19:33:45 +0000739setresuid01 setresuid01
740setresuid02 setresuid02
robbiewd295c942001-09-13 19:41:59 +0000741setresuid03 setresuid03
plarscc1b6f22001-09-05 20:37:07 +0000742
743setreuid01 setreuid01
robbiew2b3dc622001-09-10 19:33:45 +0000744setreuid02 setreuid02
plarscc1b6f22001-09-05 20:37:07 +0000745setreuid03 setreuid03
746setreuid04 setreuid04
747setreuid05 setreuid05
748setreuid06 setreuid06
749
750setrlimit01 setrlimit01
robbiew04dcae82001-09-13 19:52:02 +0000751setrlimit02 setrlimit02
plarscc1b6f22001-09-05 20:37:07 +0000752setrlimit03 setrlimit03
753
754setsid01 setsid01
755
756setsockopt01 setsockopt01
757
758settimeofday01 settimeofday01
759settimeofday02 settimeofday02
760
761setuid01 setuid01
762setuid02 setuid02
763setuid03 setuid03
764
765shmat01 shmat01
766shmat02 shmat02
767shmat03 shmat03
768
769shmctl01 shmctl01
770shmctl02 shmctl02
771shmctl03 shmctl03
plars7ce00c22002-09-30 19:59:58 +0000772shmctl04 shmctl04
plarscc1b6f22001-09-05 20:37:07 +0000773
robbiew2b3dc622001-09-10 19:33:45 +0000774shmdt01 shmdt01
robbiew04dcae82001-09-13 19:52:02 +0000775shmdt02 shmdt02
plarscc1b6f22001-09-05 20:37:07 +0000776
777shmget01 shmget01
778shmget02 shmget02
779shmget03 shmget03
robbiew0c0847c2001-09-13 20:23:54 +0000780shmget04 shmget04
plarscc1b6f22001-09-05 20:37:07 +0000781shmget05 shmget05
782
783sigaction01 sigaction01
robbiew0c0847c2001-09-13 20:23:54 +0000784sigaction02 sigaction02
robbiewee78cc52003-02-24 19:26:42 +0000785
plarscc1b6f22001-09-05 20:37:07 +0000786sigaltstack01 sigaltstack01
787sigaltstack02 sigaltstack02
788
robbiew2845acb2003-02-24 19:38:01 +0000789
plarscc1b6f22001-09-05 20:37:07 +0000790sighold02 sighold02
robbiew7cd714b2003-02-24 22:15:40 +0000791
plarscc1b6f22001-09-05 20:37:07 +0000792signal01 signal01
793signal02 signal02
794signal03 signal03
795signal04 signal04
796signal05 signal05
797
robbiew1a228e02003-02-21 22:14:33 +0000798sigpending02 sigpending02
799
plarscc1b6f22001-09-05 20:37:07 +0000800sigprocmask01 sigprocmask01
801
802sigrelse01 sigrelse01
803
804sigsuspend01 sigsuspend01
805
robbiewf01a9002003-04-15 17:42:39 +0000806
plarscc1b6f22001-09-05 20:37:07 +0000807socket01 socket01
808
robbiewe7c06512003-01-02 16:00:05 +0000809socketcall01 socketcall01
810socketcall02 socketcall02
811socketcall03 socketcall03
812socketcall04 socketcall04
813
plarscc1b6f22001-09-05 20:37:07 +0000814socketpair01 socketpair01
815
816sockioctl01 sockioctl01
817
vapierc033f492006-08-21 07:44:43 +0000818#splice test
819splice01 splice01
820tee01 tee01
821
plarscc1b6f22001-09-05 20:37:07 +0000822stat01 stat01
823stat02 stat02
824stat03 stat03
825stat04 symlink01 -T stat04
826stat05 stat05
827stat06 stat06
828
829statfs01 statfs01
830statfs02 statfs02
robbiew89572422002-06-05 15:35:34 +0000831statfs03 statfs03
plarscc1b6f22001-09-05 20:37:07 +0000832
robbiew783bc452005-08-31 21:31:27 +0000833statvfs01 statvfs01
834
robbiewa30214a2003-11-26 15:35:15 +0000835# This syscall is obsoleted by settimeofday.
plarsfd011592002-08-30 19:14:12 +0000836#stime01 stime01
robbiewa30214a2003-11-26 15:35:15 +0000837#stime02 stime02
plarscc1b6f22001-09-05 20:37:07 +0000838
robbiewc58f59a2002-12-31 22:43:14 +0000839string01 string01
840
robbiew0abc81f2003-01-02 16:45:29 +0000841swapoff01 swapoff01
842swapoff02 swapoff02
843
robbiewbea33222004-08-25 23:26:48 +0000844swapon01 swapon01
845swapon02 swapon02
robbiewdcc848e2003-01-02 21:03:35 +0000846
plarscc1b6f22001-09-05 20:37:07 +0000847symlink01 symlink01
848symlink02 symlink02
robbiew90996112001-09-13 20:31:13 +0000849symlink03 symlink03
plarscc1b6f22001-09-05 20:37:07 +0000850symlink04 symlink04
851symlink05 symlink05
852
vapier460557a2006-09-10 10:00:38 +0000853#symlinkat test cases
854symlinkat01 symlinkat01
855
plarscc1b6f22001-09-05 20:37:07 +0000856sync01 sync01
857sync02 sync02
858
robbiew35c803d2002-12-31 22:53:23 +0000859syscall01 syscall01
860
robbiewed1fe5e2002-12-04 19:06:19 +0000861sysconf01 sysconf01
862
plarscc1b6f22001-09-05 20:37:07 +0000863sysctl01 sysctl01
864sysctl03 sysctl03
865sysctl04 sysctl04
866sysctl05 sysctl05
867
robbiewdb26b082002-12-26 20:48:35 +0000868sysfs01 sysfs01
869sysfs02 sysfs02
870sysfs03 sysfs03
871sysfs04 sysfs04
872sysfs05 sysfs05
873sysfs06 sysfs06
874
plarscc1b6f22001-09-05 20:37:07 +0000875sysinfo01 sysinfo01
876sysinfo02 sysinfo02
877
robbiew564db0e2002-12-09 23:21:23 +0000878syslog01 syslog01
879syslog02 syslog02
880syslog03 syslog03
881syslog04 syslog04
882syslog05 syslog05
883syslog06 syslog06
884syslog07 syslog07
885syslog08 syslog08
886syslog09 syslog09
887syslog10 syslog10
robbiewee4e4fb2003-04-03 15:53:36 +0000888syslog11 syslog11
robbiew4946e5a2003-01-01 20:38:17 +0000889syslog12 syslog12
robbiew564db0e2002-12-09 23:21:23 +0000890
robbiewa30214a2003-11-26 15:35:15 +0000891# This syscall is obsoleted by gettimeofday.
892# time01 time01
893# time02 time02
plarscc1b6f22001-09-05 20:37:07 +0000894
895times01 times01
896times02 times02
897times03 times03
898
899truncate01 truncate01
900truncate02 truncate02
901truncate03 truncate03
robbiew89572422002-06-05 15:35:34 +0000902truncate04 truncate04
plarscc1b6f22001-09-05 20:37:07 +0000903
robbiew528f4282001-09-18 17:10:50 +0000904# This syscall is obsolete. The latest glibc does not even
905# include the ulimit.h file anymore. The test will fail
906# because the error handling has been simplified.
907#
908# ulimit01 ulimit01
plarscc1b6f22001-09-05 20:37:07 +0000909
910umask01 umask01
911umask02 umask02
912umask03 umask03
913
914uname01 uname01
915uname02 uname02
916uname03 uname03
917
918unlink01 symlink01 -T unlink01
919unlink05 unlink05
920unlink06 unlink06
921unlink07 unlink07
922unlink08 unlink08
923
vapier3688c122006-09-10 09:55:18 +0000924#unlinkat test cases
925unlinkat01 unlinkat01
926
robbiew85b41fd2002-11-27 16:09:57 +0000927#
928# These tests require an unmounted block device
929# to run correctly. Please see individual test
930# code for more information.
931#
932#umount01 umount01 -D /dev/...
933#umount02 umount02 -D /dev/...
934#umount03 umount03 -D /dev/...
robbiew85b41fd2002-11-27 16:09:57 +0000935
robbiew11f37552003-03-03 16:11:17 +0000936ustat01 ustat01
937ustat02 ustat02
938
plarscc1b6f22001-09-05 20:37:07 +0000939utime01 utime01
940utime01A symlink01 -T utime01
941utime02 utime02
942utime03 utime03
943utime04 utime04
944utime05 utime05
945utime06 utime06
946
947vfork01 vfork01
948vfork02 vfork02
949
950vhangup01 vhangup01
951vhangup02 vhangup02
952
vapier0b108792006-09-10 10:12:42 +0000953#vmsplice test cases
954vmsplice01 vmsplice01
955
plarscc1b6f22001-09-05 20:37:07 +0000956wait02 wait02
957
958wait401 wait401
959wait402 wait402
960
961waitpid01 waitpid01
962waitpid02 waitpid02
963waitpid03 waitpid03
964waitpid04 waitpid04
robbiew2b3dc622001-09-10 19:33:45 +0000965waitpid05 waitpid05
plarscc1b6f22001-09-05 20:37:07 +0000966waitpid06 waitpid06
967waitpid07 waitpid07
968waitpid08 waitpid08
969waitpid09 waitpid09
970waitpid10 waitpid10 5
971waitpid11 waitpid11
972waitpid12 waitpid12
973waitpid13 waitpid13
974
975write01 write01
976write02 write02
977write03 write03
978write04 write04
979write05 write05
980
981writev01 writev01
982writev02 writev02
983writev03 writev03
984writev04 writev04
985writev05 writev05
986