1 #DESCRIPTION:Math library tests - CPU tests
6 float_bessel cd $LTPROOT/testcases/bin; float_bessel -v
7 float_exp_log cd $LTPROOT/testcases/bin; float_exp_log -v
8 float_iperb cd $LTPROOT/testcases/bin; float_iperb -v
9 float_power cd $LTPROOT/testcases/bin; float_power -v
10 float_trigo cd $LTPROOT/testcases/bin; float_trigo -v
15 nextafter01 nextafter01
17 #DESCRIPTION:fsx filesystem stress tests
18 fsx-linux export TCbin=$LTPROOT/testcases/bin;fsxtest02 10000
19 #fsx-ext2 fsxtest $SCRATCHDEV ext2 10000
20 #fsx-ext3 fsxtest $SCRATCHDEV ext3 10000
21 #fsx-jfs fsxtest $SCRATCHDEV jfs 10000
22 #fsx-xfs fsxtest $SCRATCHDEV xfs 10000
23 #fsx-reiserfs fsxtest $SCRATCHDEV reiserfs 10000
25 #DESCRIPTION:Interprocess communication stress
26 # These tests use tests/pipeio to put pipes (named or unnamed) through a workout
28 pipeio_1 pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80
29 # spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
31 #pipeio_2 pipeio -T pipeio_2 -c 5 -s 4090 -i 100 -f x80
32 # spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
33 # using non-blocking I/O
34 # This test hits EAGAIN, which pipeio doesn't handle at the moment
35 pipeio_3 pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80
36 # spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
38 pipeio_4 pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80
39 # spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
40 # using non-blocking I/O
41 pipeio_5 pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80
42 # spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
44 pipeio_6 pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80
45 # spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
47 #pipeio_7 pipeio -T pipeio_7 -c 5 -s 5000 -i 10 -f x80
48 # spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
49 # using non-blocking I/O
50 # This test hits EAGAIN, which pipeio doesn't handle at the moment
51 pipeio_8 pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80
52 # spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
53 # using non-blocking I/O
59 #DESCRIPTION:Kernel system calls
60 abort01 ulimit -c 1024;abort01
97 chdir01A symlink01 -T chdir01
103 chmod01A symlink01 -T chmod01
144 creat07 creat07 -F $LTPROOT/testcases/bin/test1
168 execve02 execve02 -F $LTPROOT/testcases/bin/test3
170 execve04 execve04 -F $LTPROOT/testcases/bin/test3
171 execve05 execve05 20 $LTPROOT/testcases/bin/execve05 $LTPROOT/testcases/bin/execve05 4
211 #fcntl16 fcntl16 #Contains errors.
222 # The tests for these system calls fcntl27 and fcntl28 are temporarily being disabled
226 fdatasync01 fdatasync01
227 fdatasync02 fdatasync02
250 fpathconf01 fpathconf01
265 ftruncate01 ftruncate01
266 ftruncate02 ftruncate02
267 ftruncate03 ftruncate03
268 ftruncate04 ftruncate04
270 getcontext01 getcontext01
276 getdents01 getdents01
277 getdents02 getdents02
278 getdents03 getdents03
279 getdents04 getdents04
281 getdomainname01 getdomainname01
283 getdtablesize01 getdtablesize01
293 getgroups01 getgroups01
294 getgroups02 getgroups02
295 getgroups03 getgroups03
296 getgroups04 getgroups04
298 gethostid01 gethostid01
300 gethostname01 gethostname01
302 getitimer01 getitimer01
303 getitimer02 getitimer02
304 getitimer03 getitimer03
306 getpeername01 getpeername01
319 getpriority01 getpriority01
320 getpriority02 getpriority02
322 getresgid01 getresgid01
323 getresgid02 getresgid02
324 getresgid03 getresgid03
326 getresuid01 getresuid01
327 getresuid02 getresuid02
328 getresuid03 getresuid03
330 getrlimit01 getrlimit01
331 getrlimit02 getrlimit02
333 getrusage01 getrusage01
334 getrusage02 getrusage02
339 getsockname01 getsockname01
341 getsockopt01 getsockopt01
343 gettimeofday01 gettimeofday01
344 gettimeofday02 gettimeofday02
351 #ioctl01 ioctl01 -D /dev/tty0
352 #ioctl02 ioctl02 -D /dev/tty0
354 # Introducing ioctl tests for all /dev/tty* devices
373 kill11 ulimit -c 1024;kill11
379 link01 symlink01 -T link01
403 lstat01A symlink01 -T lstat01
414 mlockall01 mlockall01
415 mlockall02 mlockall02
416 mlockall03 mlockall03
423 mkdir05A symlink01 -T mkdir05
451 modify_ldt01 modify_ldt01
452 modify_ldt02 modify_ldt02
455 # These tests require an unmounted block device
456 # to run correctly. Please see individual test
457 # code for more information.
459 #mount01 mount01 -D /dev/...
460 #mount02 mount02 -D /dev/...
461 #mount03 mount03 -D /dev/...
462 #mount04 mount04 -D /dev/...
464 mprotect01 mprotect01
465 mprotect02 mprotect02
466 mprotect03 mprotect03
511 munlockall01 munlockall01
512 munlockall02 munlockall02
518 nanosleep01 nanosleep01
519 nanosleep02 nanosleep02
520 nanosleep03 nanosleep03
521 nanosleep04 nanosleep04
533 open01A symlink01 -T open01
545 #mincore02 mincore02 currently hangs and does not exit correctly
549 pathconf01 pathconf01
555 # The personality() system call is poorly documented
556 # and difficult to figure out how to use by looking
557 # at the different architecture specific kernel files.
558 #personality01 personality01
559 #personality02 personality02
604 readlink01A symlink01 -T readlink01
605 readlink01 readlink01
606 readlink02 readlink02
607 readlink03 readlink03
608 readlink04 readlink04
619 recvfrom01 recvfrom01
624 rename01A symlink01 -T rename01
641 rmdir03A symlink01 -T rmdir03
647 sched_get_priority_max01 sched_get_priority_max01
648 sched_get_priority_max02 sched_get_priority_max02
650 sched_get_priority_min01 sched_get_priority_min01
651 sched_get_priority_min02 sched_get_priority_min02
653 sched_getparam01 sched_getparam01
654 sched_getparam02 sched_getparam02
655 sched_getparam03 sched_getparam03
657 sched_rr_get_interval01 sched_rr_get_interval01
658 sched_rr_get_interval02 sched_rr_get_interval02
659 sched_rr_get_interval03 sched_rr_get_interval03
661 sched_setparam01 sched_setparam01
662 sched_setparam02 sched_setparam02
663 sched_setparam03 sched_setparam03
664 sched_setparam04 sched_setparam04
665 sched_setparam05 sched_setparam05
667 sched_getscheduler01 sched_getscheduler01
668 sched_getscheduler02 sched_getscheduler02
670 sched_setscheduler01 sched_setscheduler01
671 sched_setscheduler02 sched_setscheduler02
673 sched_yield01 sched_yield01
701 sendfile02 sendfile02
702 sendfile03 sendfile03
708 setdomainname01 setdomainname01
709 setdomainname02 setdomainname02
710 setdomainname03 setdomainname03
712 setfsgid01 setfsgid01
713 setfsgid02 setfsgid02
714 setfsgid03 setfsgid03
716 setfsuid01 setfsuid01
717 setfsuid02 setfsuid02
718 setfsuid03 setfsuid03
719 setfsuid04 setfsuid04
727 setgroups01 setgroups01
728 setgroups02 setgroups02
729 setgroups03 setgroups03
730 setgroups04 setgroups04
732 sethostname01 sethostname01
733 sethostname02 sethostname02
734 sethostname03 sethostname03
736 setitimer01 setitimer01
737 setitimer02 setitimer02
738 setitimer03 setitimer03
747 setpriority01 setpriority01
748 setpriority02 setpriority02
749 setpriority03 setpriority03
750 setpriority04 setpriority04
751 setpriority05 setpriority05
753 setregid01 setregid01
754 setregid02 setregid02
755 setregid03 setregid03
756 setregid04 setregid04
758 setresgid01 setresgid01
759 setresgid02 setresgid02
760 setresgid03 setresgid03
762 setresuid01 setresuid01
763 setresuid02 setresuid02
764 setresuid03 setresuid03
765 setresuid04 setresuid04
767 setreuid01 setreuid01
768 setreuid02 setreuid02
769 setreuid03 setreuid03
770 setreuid04 setreuid04
771 setreuid05 setreuid05
772 setreuid06 setreuid06
773 setreuid07 setreuid07
775 setrlimit01 setrlimit01
776 setrlimit02 setrlimit02
777 setrlimit03 setrlimit03
781 setsockopt01 setsockopt01
783 settimeofday01 settimeofday01
784 settimeofday02 settimeofday02
809 sigaction01 sigaction01
810 sigaction02 sigaction02
812 sigaltstack01 sigaltstack01
813 sigaltstack02 sigaltstack02
824 sigpending02 sigpending02
826 sigprocmask01 sigprocmask01
828 sigrelse01 sigrelse01
830 sigsuspend01 sigsuspend01
835 socketcall01 socketcall01
836 socketcall02 socketcall02
837 socketcall03 socketcall03
838 socketcall04 socketcall04
840 socketpair01 socketpair01
842 sockioctl01 sockioctl01
847 stat04 symlink01 -T stat04
857 # This syscall is obsoleted by settimeofday.
911 # This syscall is obsoleted by gettimeofday.
918 truncate01 truncate01
919 truncate02 truncate02
920 truncate03 truncate03
921 truncate04 truncate04
923 # This syscall is obsolete. The latest glibc does not even
924 # include the ulimit.h file anymore. The test will fail
925 # because the error handling has been simplified.
937 unlink01 symlink01 -T unlink01
944 # These tests require an unmounted block device
945 # to run correctly. Please see individual test
946 # code for more information.
948 #umount01 umount01 -D /dev/...
949 #umount02 umount02 -D /dev/...
950 #umount03 umount03 -D /dev/...
956 utime01A symlink01 -T utime01
983 waitpid10 waitpid10 5
1001 #DESCRIPTION:Memory Mgmt tests
1002 mm01 mmap001 -m 10000
1003 # 40 Mb mmap() test.
1004 # Creates a 10000 page mmap, touches all of the map, sync's it, and
1007 # simple mmap() test.
1008 #mm03 mmap001 -i 0 -I 1 -m 100
1009 # repetitive mmapping test.
1010 # Creates a one page map repetitively for one minute.
1012 mtest01 mtest01 -p80
1013 mtest01w mtest01 -p80 -w
1015 #test for race conditions
1017 mtest06 mmap1 -x 0.05
1025 data_space data_space
1026 stack_space stack_space
1038 #DESCRIPTION:Scheduler Stress Tests
1040 pth_str02 pth_str02 -n1000
1043 #DESCRIPTION:Native POSIX Thread Library (NPTL) Tests
1046 #DESCRIPTION:Terminal type stress
1051 #DESCRIPTION:Filesystem stress tests
1052 gf01 growfiles -W gf01 -b -e 1 -u -i 0 -L 20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2
1053 gf02 growfiles -W gf02 -b -e 1 -L 10 -i 100 -I p -S 2 -u -f gf03_
1054 gf03 growfiles -W gf03 -b -e 1 -g 1 -i 1 -S 150 -u -f gf05_
1055 #gf04 growfiles -W gf04 -b -e 1 -g 4090 -i 500 -t 39000 -u -f gf06_
1056 #gf05 growfiles -W gf05 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -u -f gf07_
1057 gf06 growfiles -W gf06 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 g_rand10 g_rand10.2
1058 gf07 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
1059 #gf08 growfiles -W gf08 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 g_rand11 g_rand11.2
1060 #gf09 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
1061 gf10 growfiles -W gf10 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I l g_lio14 g_lio14.2
1062 gf11 growfiles -W gf11 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I L g_lio15 g_lio15.2
1063 gf12 mkfifo gffifo17; growfiles -b -W gf12 -e 1 -u -i 0 -L 30 gffifo17
1064 gf13 mkfifo gffifo18; growfiles -b -W gf13 -e 1 -u -i 0 -L 30 -I r -r 1-4096 gffifo18
1065 gf14 growfiles -W gf14 -b -e 1 -u -i 0 -L 20 -w -l -C 1 -T 10 glseek19 glseek19.2
1066 gf15 growfiles -W gf15 -b -e 1 -u -r 1-49600 -I r -u -i 0 -L 120 Lgfile1
1067 #gf16 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_
1068 gf17 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_
1069 gf18 growfiles -W gf18 -b -e 1 -i 0 -L 120 -w -u -r 10-5000 -I r -l -S 2 -f Lgf04_
1070 gf19 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_
1071 gf20 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-$$
1072 #gf21 growfiles -W gf21 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bld-$$
1073 #gf22 growfiles -W gf22 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bldf-$$
1074 gf23 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-$$
1075 gf24 growfiles -W gf24 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 gf-jbld-$$
1076 gf25 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-$$
1077 gf26 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-$$
1078 gf27 growfiles -W gf27 -b -D 0 -w -g 8b -C 1 -b -i 1000 -u gfsparse-1-$$
1079 #gf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$
1080 #gf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
1081 gf30 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-$$
1082 rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
1083 rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
1084 rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$
1085 rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$
1086 rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f