name: data_space plugin: ltp description: Test virtual memory for set of data-space intensive programs. command: data_space name: diotest1_default plugin: ltp description: Direct input/output default test. command: diotest1 name: diotest1_buffer plugin: ltp description: Direct input/output test with 64 Kb buffer. command: diotest1 -b 65536 name: diotest1_iter plugin: ltp description: Direct input/output test with 64 Kb buffer and 1000 iterations. command: diotest1 -b 65536 -i 1000 name: diotest2_default plugin: ltp description: Direct input/output default test. command: diotest2 name: diotest2_buffer plugin: ltp description: Direct input/output test with 64 kb buffer. command: diotest2 -b 65536 name: diotest2_iter plugin: ltp description: Direct input/output test with 64 Kb buffer and 1000 iterations. command: diotest2 -b 65536 -i 1000 name: diotest2_o1 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 1 Mb offset. command: diotest2 -b 65536 -i 1000 -o 1024000 name: diotest2_o100 plugin: ltp description: Direct input/output test with 100 Mb offset. command: diotest2 -b 65536 -i 1000 -o 104857600 name: diotest3_default plugin: ltp description: Direct input/output default test. command: diotest3 name: diotest3_buffer plugin: ltp description: Direct input/output test with 64 Kb buffer. command: diotest3 -b 65536 name: diotest3_iter plugin: ltp description: Direct input/output test with 64 Kb buffer and 1000 iterations. command: diotest3 -b 65536 -i 1000 name: diotest3_o1 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 1 Mb offset. command: diotest3 -b 65536 -i 1000 -o 1024000 name: diotest3_o100 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 100 Mb offset. command: diotest3 -b 65536 -i 1000 -o 104857600 name: diotest4_default plugin: ltp description: Direct input/output default test. command: diotest4 name: diotest4_buffer plugin: ltp description: Direct input/output test with 64 Kb buffer. command: diotest4 -b 65536 name: diotest5_default plugin: ltp description: Direct input/output default test. command: diotest5 name: diotest5_buffer plugin: ltp description: Direct input/output test with 64 kb buffer. command: diotest5 -b 65536 name: diotest5_iter plugin: ltp description: Direct input/output test with 64 Kb buffer and 1000 iterations. command: diotest5 -b 65536 -i 1000 name: diotest5_o1 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 1 Mb offset. command: diotest5 -b 65536 -i 1000 -o 1024000 name: diotest5_o100 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 100 Mb offset. command: diotest5 -b 65536 -i 1000 -o 104857600 name: diotest6_default plugin: ltp description: Direct input/output default test. command: diotest6 name: diotest6_buffer plugin: ltp description: Direct input/output test with 64 Kb buffer. command: diotest6 -b 65536 name: diotest6_iter plugin: ltp description: Direct input/output test with 64 Kb buffer and 1000 iterations. command: diotest6 -b 65536 -i 1000 name: diotest6_o1 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 1 Mb offset. command: diotest6 -b 65536 -i 1000 -o 1024000 name: diotest6_o100 plugin: ltp description: Direct input/output test with 64 Kb buffer, 1000 iterations and 100 Mb offset. command: diotest6 -b 65536 -i 1000 -o 104857600 name: diotest6_v100 plugin: ltp description: Direct input/output test with 8 Kb buffer, 1000 iterations, 100 Mb offset and 100 vector arrays. command: diotest6 -b 8192 -i 1000 -o 1024000 -v 100 name: diotest6_v200 plugin: ltp description: Direct input/output test with 8 Kb buffer, 1000 iterations, 100 Mb offset and 200 vector arrays. command: diotest6 -b 8192 -i 1000 -o 1024000 -v 200 name: fs_inod01 plugin: ltp_fs_inod description: Rapidly creates and deletes files through multiple processes running in the background. The user may specify the number of subdirectories to create, the number of files to create (per subdirectory), and the number of times to repeat the creation/deletion cycle. command: fs_inod /tmp 10 10 1 name: fsxtest02 plugin: ltp_pass description: File system execiser for 10000 operations. command: export TCbin=$LTPROOT/testcases/bin; fsxtest02 10000 name: ftest01 plugin: ltp description: Test file input/output. command: ftest01 name: ftest02 plugin: ltp description: Test inode things. command: ftest02 name: ftest03 plugin: ltp description: Test file input/output with readv and writev. command: ftest03 name: ftest04 plugin: ltp description: Test single file input/output. command: ftest04 && echo "ftest04 1 PASS : Test passed." name: ftest05 plugin: ltp description: Test file input/output using lseek64. command: ftest05 name: ftest06 plugin: ltp description: Test inode things using lseek64. command: ftest06 name: ftest07 plugin: ltp description: Test file input/output with readv and writev using lseek64. command: ftest07 name: ftest08 plugin: ltp description: Test single file input/output using lseek64. command: ftest08 name: gf01 plugin: ltp description: Grow files 10 times before shrink using random input/output. command: growfiles -W gf01 -b -e 1 -u -i 0 -L 20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2 name: gf02 plugin: ltp description: Grow files 100 times using 2 sequential auto files. command: growfiles -W gf02 -b -e 1 -L 10 -i 100 -I p -S 2 -u -f gf03_ name: gf03 plugin: ltp description: Grow files 1 time using 150 sequential auto files. command: growfiles -W gf03 -b -e 1 -g 1 -i 1 -S 150 -u -f gf05_ name: gf04 plugin: ltp description: Grow files 500 times by 4090 byte increments and shrink by 39000 bytes. command: growfiles -W gf04 -b -e 1 -g 4090 -i 500 -t 39000 -u -f gf06_ name: gf05 plugin: ltp description: Grow files 500 times by 5000 byte increments and shrink by 49900 bytes. command: growfiles -W gf05 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -u -f gf07_ name: gf06 plugin: ltp description: Grow files for 30 seconds using random writes bwtween 1-5000 and random seeks between 0-filesize. command: growfiles -W gf06 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 g_rand10 g_rand10.2 name: gf07 plugin: ltp description: Grow files for 30 seconds using random writes bwtween 1-5000 and random seeks between 0-filesize+grow with polled asynchronous input/output. command: growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I p g_rand13 g_rand13.2 name: gf08 plugin: ltp description: Grow files for 30 seconds using random writes bwtween 1-5000 and random seeks between 0-filesize+grow. command: growfiles -W gf08 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 g_rand11 g_rand11.2 name: gf09 plugin: ltp description: Grow files for 30 seconds using random writes bwtween 1-5000 and random seeks between 0-filesize with polled asynchronous input/output. command: growfiles -W gf09 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 -I p g_rand12 g_rand12.2 name: gf10 plugin: ltp description: Grow files for 30 seconds using random writes bwtween 1-5000 with listio synchronous input/output. command: growfiles -W gf10 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I l g_lio14 g_lio14.2 name: gf11 plugin: ltp description: Grow files for 30 seconds using random writes bwtween 1-5000 with listio asynchronous input/output. command: growfiles -W gf11 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I L g_lio15 g_lio15.2 name: gf12 plugin: ltp_fifo description: Grow files for 30 seconds in synchronous mode. command: growfiles -b -W gf12 -e 1 -u -i 0 -L 30 gffifo17 name: gf13 plugin: ltp_fifo description: Grow files for 30 seconds in synchronous mode using random writes between 1-4096 and random input/ouput. command: growfiles -b -W gf13 -e 1 -u -i 0 -L 30 -I r -r 1-4096 gffifo18 name: gf14 plugin: ltp description: Grow files 10 times before shrink using asynchronous input/output. command: growfiles -W gf14 -b -e 1 -u -i 0 -L 20 -w -l -C 1 -T 10 glseek19 glseek19.2 name: gf16 plugin: ltp description: Grow files 100 times by increments of 4090 bytes using 10 sequential auto files. command: growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 100 -t 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ name: gf17 plugin: ltp description: Grow files for 120 seconds by increments of 5000 bytes using 10 sequential auto files. command: growfiles -W gf17 -b -e 1 -i 0 -L 120 -u -g 5000 -T 100 -t 499990 -l -C 10 -c 1000 -S 10 -f Lgf03_ name: gf19 plugin: ltp description: Grow files 500 times by increments of 5000 bytes before shrink by 49900 bytes. command: growfiles -W gf19 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -o O_RDWR,O_CREAT,O_TRUNC -u -f gf08i_ name: gf20 plugin: ltp description: Grow files 4 times using random writes between 1-256000 and random seeks between 512-256000. command: growfiles -W gf20 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 1-256000:512 -R 512-256000 -T 4 gfbigio-$$ name: gf21 plugin: ltp description: Grow files 10 times using increments of 20 Kb. command: growfiles -W gf21 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bld-$$ name: gf22 plugin: ltp description: Grow files again 10 times using increments of 20 Kb. command: growfiles -W gf22 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bldf-$$ name: gf23 plugin: ltp description: Grow files 4 times using random writes between 512-64000 and random seeks between 1-384000. command: growfiles -W gf23 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 512-64000:1024 -R 1-384000 -T 4 gf-inf-$$ name: gf24 plugin: ltp description: Grow files for 60 seconds using a maximum bytes of 1000 per file and incrementing by 20 Kb. command: growfiles -W gf24 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 gf-jbld-$$ name: gf25 plugin: ltp description: Grow files once using random writes between 512-64000 and random seeks between 4095-2048000. command: growfiles -W gf25 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 1024000-2048000:2048 -R 4095-2048000 -T 1 gf-large-gs-$$ name: gf26 plugin: ltp description: Grow files 4 times using random writes between 128-32768 and random seeks between 512-64000. command: growfiles -W gf26 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 128-32768:128 -R 512-64000 -T 4 gfsmallio-$$ name: gf27 plugin: ltp description: Grow files 1000 times by 8 byte increments making sure to check the last write. command: growfiles -W gf27 -b -D 0 -w -g 8b -C 1 -b -i 1000 -u gfsparse-1-$$ name: gf28 plugin: ltp description: Grow files 1000 times by 16 byte increments making sure to check the last write. command: growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$ name: gf29 plugin: ltp description: Grow files for 60 seconds using random writes between 1-4096 and random seeks between 0-33554432. command: growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$ name: gf30 plugin: ltp description: Grow files 10 times using O_RDWR, O_CREAT and O_SYNC open flags. command: growfiles -W gf30 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$ name: hangup01 plugin: ltp description: Tests parent and child processes for hangups. command: hangup01 name: inode01 plugin: ltp description: Constructs a directory tree, creates files in it, and verifies that this was done as expected.. command: inode01 name: inode02 plugin: ltp description: Create several identical process that call a single file. This will simulate the multi-user environment, and hopefully uncover conflicts that might occur in "real life" use. command: inode02 name: iogen01 plugin: ltp_iogen description: Read and write tests for 2 minutes using two processes with 500 and 1000 byte files. command: bash rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$ name: link01 plugin: ltp_link description: Regression test for max links per file. command: linktest.pl name: mem01 plugin: ltp description: Phase test for exercising virtual memory allocation and usage. It is intended to provide a limited exposure of the system swapper, for now. command: mem01 name: mem02 plugin: ltp description: Allocates a big chunk of memory, verifies it is available (zeroed in the case of calloc). Writes into it and verifies, frees memory and verifies free was successful. In the case of valloc, allocates memory and frees it (do this for several iterations). Checks if valloc returns unaligned pointers. If valloc causes a SIGSEGV, that means a failure has occured. command: mem02 name: mm01 plugin: ltp description: Test mapping a 10000 byte file and writing it once. command: mmap001 -m 10000 name: mm02 plugin: ltp description: Test mapping a 1000 byte file and writing it once. command: mmap001 name: mtest01 plugin: ltp_pass description: Mallocs 80 percent of memory. command: mtest01 -p80 name: mtest01w plugin: ltp_pass description: Mallocs 80 percent of memory and writes to it. command: mtest01 -p80 -w name: mtest05 plugin: ltp_mtest description: Performs general stress with memory race condtions. It contains seven testcases that will test race conditions between simultaneous read fault, write fault, copy on write (COW) fault e.t.c. This testcase is intented to execute on the Linux operating system and can be easily ported to work on other operating systems as well. command: mmstress name: nptl01 plugin: ltp description: This is a test for a bug found in the pthread_cond_timedwait() system call of the Native POSIX Thread Library (NPTL) library code. There was an error path in the system call, where the sequence counters were getting updated w/o holding the internal condvar lock. A FAIL is indicated by the test hanging and not completing execution. command: nptl01 name: openfile01 plugin: ltp_open_file description: Create files and open simultaneously. command: openfile -f10 -t10 name: page01 plugin: ltp description: Creates a number of process, each of which requests a large chunk of memory to be assigned to an array. Writes to each element in that array, and verifies that what was written/stored is what was expected. command: page01 name: page02 plugin: ltp description: Creates a number of processes, each of which requests a large chunk of memory to be assigned to an array. Writes to each element in that array, and verifies that what was written/stored is what was expected. Writes start in middle of array and proceede to ends. command: page02 name: pipeio_1 plugin: ltp description: Spawns 5 children to write 100 chunks of 4090 bytes to a named pipe using blocking input/output. command: pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80 name: pipeio_3 plugin: ltp description: Spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe using blocking input/output. command: pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80 name: pipeio_4 plugin: ltp description: Spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe using non-blocking input/output. command: pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80 name: pipeio_5 plugin: ltp description: Spawns 5 children to write 10 chunks of 5000 bytes to a named pipe using blocking input/output. command: pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80 name: pipeio_6 plugin: ltp description: Spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe using blocking input/output. command: pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80 name: pipeio_8 plugin: ltp description: Spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe using non-blocking input/output. command: pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80 name: ptem01 plugin: ltp description: Tests termio ioctls, window size setting and getting, sending a break, multiple opens of slave side, several simultaneous opens and hangup semantics. command: ptem01 name: pth_str01_default plugin: ltp_pth_str description: Creates a tree of threads. command: pth_str01 name: pth_str02_default plugin: ltp_pth_str description: Creates 1000 threads. command: pth_str02 -n1000 name: pth_str03_default plugin: ltp_pth_str description: Creates a tree of threads, does calculations and returns result to parent. command: pth_str03 name: pty01 plugin: ltp_pty description: Tests slave locking, slave operations with closed master, operations on master with closed slave, multiple opens on slave side of pty and opening/closing lots of ptys in parallel. command: pty01 name: rwtest01 plugin: ltp description: Read and write test using synchronous file input/output. command: bash rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ name: rwtest02 plugin: ltp description: Read and write test using synchronous file input/output. command: bash rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ name: rwtest03 plugin: ltp description: Read and write test using buffered file input/output with mmread and mmwrite system calls. command: bash rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ name: rwtest04 plugin: ltp description: Read and write test using synchronous file input/output with mmread and mmwrite system calls. command: bash rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ name: rwtest05 plugin: ltp description: Read and write test using 64b maximum transfer length. command: bash rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f name: sem01 plugin: ltp description: Creates a semaphore and two processes. The processes each go through a loop where they semdown, delay for a random amount of time, and semup, so they will almost always be fighting for control of the semaphore. command: sem01 name: sem02 plugin: ltp description: The application creates several threads using pthread_create(). One thread performs a semop() with the SEM_UNDO flag set. The change in sempaphore value performed by that semop should be "undone" only when the last pthread exits. command: sem02 name: shmt02 plugin: ltp description: Creates and attaches a shared memory segment, writes to it and then removes it. Verifies that the shared memory segment is accessible as long as the process is still alive. command: shmt02 name: shmt03 plugin: ltp description: Creates one shared memory segment and attaches it twice to the same process, at an address that is chosen by the system. After the first attach has completed, writes to it and then does the second attach. Verifies that the doubly attached segment contains the same data. command: shmt03 name: shmt04 plugin: ltp description: Parent process forks a child. Child pauses until parent has created a shared memory segment, attached to it and written to it too. At that time child gets the shared memory segment id, attaches to it and verifies that its contents are the same as the contents of the parent attached segment. command: shmt04 name: shmt05 plugin: ltp description: Creates two shared memory segments and attaches them to the same process at two different addresses. The addresses DO BUMP into each other. The second attach should Fail. command: shmt05 name: shmt06 plugin: ltp description: Parent process forks a child. Child pauses until parent has created a shared memory segment, attached to it and written to it too. At that time child gets the shared memory segment id, attaches to it at a different address than the parents and verifies that its contents are the same as the contents of the parent attached segment. command: shmt06 name: shmt07 plugin: ltp description: Creates and attaches a shared memory segment, writes to it and then forks a child. The child verifies that the shared memory segment that it inherited from the parent conatins the same data that was originally written to it by the parent. command: shmt07 name: shmt08 plugin: ltp description: Creates a shared memory segment. Attaches it twice at an address that is provided by the system. Detaches the previously attached segments from the process. command: shmt08 name: shmt09 plugin: ltp description: Creates a shared memory segment and attaches at the default address. Increasees the size of the data segment. Attaches at an address that is less than the break value: should FAIL. Decreases the size of the data segment. Attaches at 4K past the break value: should SUCCEED. Sbrk() past the attached segment: should FAIL. command: shmt09 name: shmt10 plugin: ltp description: Creates a shared memory segment and forks a child. Both parent and child spin in a loop attaching and detaching the segment. After completing the specified number of iterations, the child exits and the parent deletes the segment. command: shmt10 name: stack_space plugin: ltp description: Test virtual memory for set of stack-space intensive programs. command: stack_space name: stream01 plugin: ltp description: Opens a stream, writes something to it, performs freopen and writes some more. Checks that a second write to stream went to the file specified by freopen. command: stream01 name: stream02 plugin: ltp description: Opens a stream and performs fseek calls. command: stream02 name: stream03 plugin: ltp description: Opens a file, writes to it, repositions the file pointer and checks it. command: stream03 name: stream04 plugin: ltp description: Opens a file, writes to it and checks it. Then, fwrite a known quantity and checks the return value. Finally, fread a known quantity and checks the return value. command: stream04 name: stream05 plugin: ltp description: Opens a stream and immediately executes ferror. Then, uses the file descriptor returned from fileno to read a file written with stream - compare actual vs expected. Then, opens stream and ensures feof returns zero, read to end of file and ensures feof returns non-zero. Finally, use clearerr and use feof to ensure clearerr worked. command: stream05