Fix the creation of the dumpdir directory in stress_floppy Makefile
[ltp-debian.git] / runtest / quickhit
blob0ed4da4302b39339644be25daeeba1c8af962816
1 #DESCRIPTION:A small subset of the syscalls
2 access01 access01
3 # Basic test for access(2) using F_OK, R_OK, W_OK and X_OK arguments.
4 access03 access03
5 # EFAULT error testing for access(2)
6 alarm01 alarm01
7 # Basic test for alarm(2)
8 alarm02 alarm02
9 # Boundary Value Test for alarm(2)
10 #    TEST CASES
11 #      Test Case One - A call to alarm() shall not return an error if 
12 #       seconds is a -1.
13 #       Test FAILS if a non-zero value is returned.
14 #      Test Case Two - A call to alarm() shall not return an error if
15 #       seconds is the maximum unsigned integer (2**63).
16 #       Test FAILS if a non-zero value is returned.
17 #      Test Case Three - A call to alarm() shall not return an error if
18 #       seconds is the maximum unsigned integer plus 1 ((2**63)+1).
19 #       Test FAILS if a non-zero value is returned.
20 alarm03 alarm03
21 # alarm(2) cleared by a fork
22 #    TEST CASES
23 #       1.) alarm(100), fork, child's alarm(0) shall return 0;
24 #       2.) alarm(100), fork, parent's alarm(0) shall return non-zero.
25 asyncio02 asyncio02
26 #       Attempt to get some memory to work with.
27 #       Call testrun writing (BUFSIZ + 1) bytes
28 #       Call testrun writing BUFSIZ bytes
29 #       Repeated call to testrun() with decreasing write sizes
30 #               less than BUFSIZ
31 #       End
32
33 #       Start testrun()
34 #       Attempt to open a temporary file.
35 #       Write the memory to the file.
36 #       Attempt to close the file which also flushes the buffers.
37 #       Now check to see if the number of bytes written is the
38 #               same as the number of bytes in the file.
39 #       Cleanup
40 brk01 brk01
41 # Basic test for brk()
42 #    TEST CASES
43 #       1.) brk(2) returns...
44 chdir02 chdir02
45 # Basic test for chdir(2)
46 #    TEST CASES
47 #       1.) chdir(2) returns...
48 chmod02 chmod02
49 # Basic test for chmod(2)
50 #    TEST CASES
51 #       1.) chmod(2) returns...
52 chown01 chown01
53 # Basic test for chown(2)
54 #    TEST CASES
55 #       1.) chown(2) returns...
56 close08 close08
57 # Basic test for close(2)
58 #    TEST CASES
59 #       1.) close(2) returns...
60 creat09 creat09
61 # Basic test for creat(2) using 0700 argument.
62 #    TEST CASES
63 #       1.) creat(2) returns...
64 dup01 dup01
65 # Basic test for dup(2)
66 #    TEST CASES
67 #       1.) dup(2) returns...(See Description)
68 dup02 dup02
69 #  Negative test for dup(2) with bad fd
70 #    TEST CASES
71 #       1-?.) dup(2) returns -1 with errno set to EBADF...(See Description)
72 dup03 dup03
73 # Negative test for dup(2) (too many fds)
74 dup04 dup04
75 # Basic test for dup(2) of a system pipe descriptor
76 dup05 dup05
77 # Basic test for dup(2) of a named pipe descriptor
78 execl01 execl01
79 # Basic test for execl(2)
80 execle01 execle01
81 # Basic test for execle(2)
82 execlp01 execlp01
83 # Basic test for execlp(2
84 execv01 execv01
85 # Basic test for execv(2)
86 execve01 execve01
87 # Basic test for execve(2)
88 execvp01 execvp01
89 # Basic test for execvp(2)
90 f00f f00f
91 # This is a simple test for handling of the pentium f00f bug.
92 # It is an example of a catistrophic test case.  If the system
93 # doesn't correctly handle this test, it will likely lockup.
94 fchmod01 fchmod01
95 # Basic test for fchmod(2) using 0700 argument.
96 fchown01 fchown01
97 # Basic test for fchown(2)
98 fcntl02 fcntl02
99 # Basic test for fcntl(2) using F_DUPFD argument
100 fcntl03 fcntl03
101 # Basic test for fcntl(2) using F_GETFD argument
102 fcntl04 fcntl04
103 # Basic test for fcntl(2) using F_GETFL argument
104 fcntl05 fcntl05
105 # Basic test for fcntl(2) using F_GETLK argument
106 fcntl07 fcntl07
107 # Close-On-Exec functional test
108 #    TEST CASES
109 #       1.) test close-on-exec with a regular file
110 #       2.) test close-on-exec with a system pipe
111 fcntl07B fcntl07B
112 # Close-On-Exec of named pipe functional test
113 #    TEST CASES
114 #       1.) test close-on-exec with a named pipe
115 fcntl08 fcntl08
116 # Basic test for fcntl(2) using F_SETFL argument
117 fcntl09 fcntl09
118 # Basic test for fcntl(2) using F_SETLK argument
119 fcntl10 fcntl10
120 # Basic test for fcntl(2) using F_SETLKW argument
121 fork01 fork01
122 # Basic test for fork(2)
123 #    TEST CASES
124 #       1.) fork returns without error
125 #       2.) fork returns the pid of the child
126 fork04 fork04
127 # Child inheritance of Environment Variables after fork()
128 #    TEST CASES
129 #       Test these environment variables correctly inherited by child:
130 #       1. TERM 
131 #       2. NoTSetzWq
132 #       3. TESTPROG 
133 fork05 fork05
134 # This is a test sent in my Ulrich Drepper to test for a bug in fork() where
135 # %gs is not handled correctly.  See fork05.c for a copy of Ulrich's email
136 fpathconf01 fpathconf01
137 # Basic test for fpathconf(2)
138 fstat01 fstat01
139 # Basic test for fstat(2) 
140 fstatfs01 fstatfs01
141 # Basic test for fstatfs(2)
142 fsync01 fsync01
143 # Basic test for fsync(2)
144 getegid01 getegid01
145 # Basic test for getegid(2)
146 geteuid01 geteuid01
147 # Basic test for geteuid(2)
148 getgid01 getgid01
149 # Basic test for getgid(2) 
150 getgroups01 getgroups01
151 # Getgroups system call critical test
152 #    TEST CASES
153 #       1. Check to see if getgroups(-1, gidset) fails and sets errno to EINVAL
154 #       2. Check to see if getgroups(0, gidset) does not return -1 and gidset is
155 #       not modified.
156 #       3. Check to see if getgroups(x, gigset) fails and sets errno to EINVAL,
157 #       where x is one less then what is returned by getgroups(0, gidset).
158 #       4. Check to see if getgroups() succeeds and gidset contains
159 #       group id returned from getgid().
160 getgroups02 getgroups02
161 # Basic test for getgroups(2)
162 gethostid01 gethostid01
163 # Basic test for gethostid(2)
164 gethostname01 gethostname01
165 # Basic test for gethostname(2)
166 getpgrp01 getpgrp01
167 # Basic test for getpgrp(2) 
168 getpid01 getpid01
169 # Basic test for getpid(2) 
170 getppid01 getppid01
171 # Basic test for getppid(2) 
172 getuid01 getuid01
173 # Basic test for getuid(2) 
174 kill02 kill02
175 # Sending a signal to processes with the same process group ID.
176 kill09 kill09
177 # Basic test for kill(2)
178 link02 link02
179 # Basic test for link(2)
180 link03 link03
181 # multi links tests
182 link04 link04
183 # Negative test cases for link(2)
184 link05 link05
185 # multi links (EMLINK) negative test
186 lseek01 lseek01
187 # Basic test for lseek(2)
188 lseek02 lseek02
189 # Negative test for lseek(2)
190 lseek03 lseek03
191 # Negative test for lseek(2) whence
192 lseek04 lseek04
193 # Negative test for lseek(2) of a fifo
194 lseek05 lseek05
195 # Negative test for lseek(2) of a pipe
196 lstat02 lstat02
197 # Basic test for lstat(2)
198 mkdir01 mkdir01
199 # Basic errno test for mkdir(2)
200 mkdir08 mkdir08
201 # Basic test for mkdir(2)
202 qmm01 mmap001 -m 1
203 # Basic mmap() test.
204 nice05 nice05
205 # Basic test for nice(2)
206 open03 open03
207 # Basic test for open(2)
208 pathconf01 pathconf01
209 # Basic test for pathconf(2)
210 pause01 pause01
211 # Basic test for pause(2)
212 read01 read01
213 # Basic test for read(2)
214 readdir01 readdir01
215 # write multiple files and try to find them with readdir
216 #    TEST CASES
217 #       1.) Create n files and check that readdir() finds n files
218 readlink02 readlink02
219 # Basic test for readlink(2)
220 rename02 rename02
221 # Basic test for rename(2)
222 rmdir04 rmdir04
223 # Basic test for rmdir(2)
224 rmdir05 rmdir05
225 # rmdir(2) test for errno(s) EINVAL, EMLINK, EFAULT
226 sbrk01 sbrk01
227 # Basic test for sbrk(2)
228 select01 select01
229 # select to a file
230 #    TEST CASES
231 #      1.) select(2) to a fd of regular file with no I/O and small timeout
232 select02 select02
233 # select of system pipe fds
234 select03 select03
235 # select of fd of a named-pipe (FIFO)
236 setgid01 setgid01
237 # Basic test for setgid(2)
238 setpgid01 setpgid01
239 # Basic test for setpgid(2)
240 setpgrp01 setpgrp01
241 # Basic test for setpgrp(2)
242 setregid01 setregid01
243 # Basic test for setregid(2)
244 setreuid01 setreuid01
245 # Basic test for setreuid(2)
246 setuid01 setuid01
247 # Basic test for setuid(2)
248 sighold02 sighold02
249 # Holding all signals
250 signal03 signal03
251 # Boundary value and other invalid value checking of signal setup 
252 # and signal sending.
253 sigrelse01 sigrelse01
254 # Releasing held signals
255 stat05 stat05
256 # Basic test for stat(2)
257 stat06 stat06
258 # Negative tests for stat(2)
259 statfs01 statfs01
260 # Basic test for statfs(2) mounted filesys
261 statvfs01 statvfs01
262 # Basic test for statvfs(2) mounted filesys
263 sync01 sync01
264 # Basic test for sync(2) 
265 time01 time01
266 # Basic test for time(2)
267 times01 times01
268 # Basic test for times(2)
269 ulimit01 ulimit01
270 # Basic test for ulimit(2)
271 umask01 umask01
272 # Basic test for umask(2)
273 uname01 uname01
274 # Basic test for uname(2)
275 unlink05 unlink05
276 # Basic test for unlink(2)
277 unlink06 unlink06
278 # unlink(2) of a FIFO
279 unlink07 unlink07
280 # unlink(2) negative testcases
281 unlink08 unlink08
282 # unlink(2) negative testcases
283 wait02 wait02
284 # Basic test for wait(2)
285 write01 write01
286 # Basic test for write(2)
287 symlink01 symlink01
288 # Make a Symbolic Link to a File
289 #    TEST CASES
290 #       1. Create symbolic link with abnormal object name path
291 #       2. Create symbolic link with normal object name path
292 #       3. Create symbolic link with path to an existing object file
293 #       4. Receive EEXIST error when creating an already existing symbolic link file.
294 #       5. Receive ENAMETOOLONG error when creating symbolic link which exceeds PATH_MAX in length
295 symlink02 symlink02
296 # Basic test for symlink(2)
297 readlink01A symlink01 -T readlink01
298 # Reads Value of a Symbolic Link
299 #    TEST CASES
300 #       1. Read a symbolic link file which points at no object file
301 #       2. Read a symbolic link file which points at an object file
302 #       3. Receive ENAMETOOLONG error when reading symbolic link which exceeds PATH_MAX in length
303 #       4. Receive an EINVAL error when reading a file which is not a symbolic
304 # link file.
305 stat04 symlink01 -T stat04
306 # Gets File Status Indirectly From a Symbolic Link File
307 #    TEST CASES
308 #       1. Get object file status through symbolic link file
309 #       2. Receive ENOENT error when accessing non-existent object file through symbolic link file
310 #       3. Receive ELOOP error when nesting of symbolic links exceed maximum
311 lstat01A symlink01 -T lstat01
312 # Get file Status About a Symbolic Link File
313 #    TEST CASES
314 #       1. Get symbolic link file status when pointing at no object file
315 #       2. Get symbolic link file status when pointing at an object file
316 #       3. Get object file status when argument is not a symbolic link
317 # file.
318 mkdir05A symlink01 -T mkdir05
319 # Fail When Making a Directory File Indirectly From a Symbolic Link File
320 #    TEST CASES
321 #       1. Receive EEXIST error when creating a directory through a symbolic link file
322 rmdir03A symlink01 -T rmdir03
323 # Fail When Removing a Directory File Indirectly From a Symbolic Link File
324 #    TEST CASES
325 #       1. Receive ENOTDIR error when removing an existing directory through a symbolic link file
326 chdir01A symlink01 -T chdir01
327 # Changes Current Working DIrectory Location Indirectly From a Symbolic Link File
328 #    TEST CASES
329 #       1. Change current working directory through a symbolic link file
330 #       2. Receive ENOENT error when accessing non-existent directory through symbolic link file
331 #       3. Receive ELOOP error when nesting of symbolic links exceed maximum
332 link01 symlink01 -T link01
333 # Creates a Link To a File Indirectly From a Symbolic Link File
334 #    TEST CASES
335 #       1. Link an object file to a new file through symbolic link file
336 #       2. Receive ENOENT error when accessing non-existent object file through symbolic link file
337 #       3. Receive ELOOP error when nesting of symbolic links exceed maximum
338 unlink01 symlink01 -T unlink01
339 # Removes a Link To a File And Not Any Object File Which Maybe Pointed At
340 #    TEST CASES
341 #       1. Delete a symbolic link file and not the object file which it points at
342 chmod01A symlink01 -T chmod01
343 # Change Object File Permissions Indirectly From a Symbolic Link File
344 #    TEST CASES
345 #       1. Change file permissions of object file through a symbolic link file
346 #       2. Receive ENOENT error when accessing non-existent directory through symbolic link file
347 #       3. Receive ELOOP error when nesting of symbolic links exceed maximum
348 utime01A symlink01 -T utime01
349 # Set File Access And Modify Object File Times Indirectly From a Symbolic Link File
350 #    TEST CASES
351 #       1. Change inode times of object file through a symbolic link file
352 #       2. Receive ENOENT error when accessing non-existent directory through symbolic link file
353 #       3. Receive ELOOP error when nesting of symbolic links exceed maximum
354 rename01A symlink01 -T rename01
355 # Rename a Symbolic Link File And Not Any Object File
356 #    TEST CASES
357 #       1. Rename a symbolic link file which points at no object file
358 #       2. Rename a symbolic link file which points at an object file without any object file alterations.
359 #       3. Receive EXDEV when trying to rename a symbolic link file to an address outside of current file system
360 open01A symlink01 -T open01
361 # Create/Open a File For Reading Or Writing Indirectly From a Symbolic Link File
362 #    TEST CASES
363 #       1. Create an object file through a symbolic link file
364 #       2. Open an object file through a symbolic link file
365 #       3. Receive EEXIST error when exclusively creating an object file through a symbolic link file
366 #       4. Receive ENOENT error when accessing non-existent object file through symbolic link file
367 #       5. Receive ELOOP error when nesting of symbolic links exceed maximum