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
107 chmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod05
108 chmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod06
113 chown03 export change_owner=$LTPROOT/testcases/bin/change_owner;chown03
114 chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chown04
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
185 fchmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod05
186 fchmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod06
191 fchown03 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchown03
192 fchown04 export change_owner=$LTPROOT/testcases/bin/change_owner;fchown04
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
292 getgroups01 getgroups01
293 getgroups02 getgroups02
294 getgroups03 getgroups03
295 getgroups04 getgroups04
297 gethostid01 gethostid01
299 gethostname01 gethostname01
301 getitimer01 getitimer01
302 getitimer02 getitimer02
303 getitimer03 getitimer03
305 getpeername01 getpeername01
318 getpriority01 getpriority01
319 getpriority02 getpriority02
321 getresgid01 getresgid01
322 getresgid02 getresgid02
323 getresgid03 getresgid03
325 getresuid01 getresuid01
326 getresuid02 getresuid02
327 getresuid03 getresuid03
329 getrlimit01 getrlimit01
330 getrlimit02 getrlimit02
332 getrusage01 getrusage01
333 getrusage02 getrusage02
338 getsockname01 getsockname01
340 getsockopt01 getsockopt01
342 gettimeofday01 gettimeofday01
343 gettimeofday02 gettimeofday02
350 #ioctl01 ioctl01 -D /dev/tty0
351 #ioctl02 ioctl02 -D /dev/tty0
353 # Introducing ioctl tests for all /dev/tty* devices
372 kill11 ulimit -c 1024;kill11
376 lchown02 cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02
378 link01 symlink01 -T link01
402 lstat01A symlink01 -T lstat01
413 mlockall01 mlockall01
414 mlockall02 mlockall02
415 mlockall03 mlockall03
422 mkdir05A symlink01 -T mkdir05
450 modify_ldt01 modify_ldt01
451 modify_ldt02 modify_ldt02
454 # These tests require an unmounted block device
455 # to run correctly. Please see individual test
456 # code for more information.
458 #mount01 mount01 -D /dev/...
459 #mount02 mount02 -D /dev/...
460 #mount03 mount03 -D /dev/...
461 #mount04 mount04 -D /dev/...
463 mprotect01 mprotect01
464 mprotect02 mprotect02
465 mprotect03 mprotect03
510 munlockall01 munlockall01
511 munlockall02 munlockall02
517 nanosleep01 nanosleep01
518 nanosleep02 nanosleep02
519 nanosleep03 nanosleep03
520 nanosleep04 nanosleep04
532 open01A symlink01 -T open01
544 #mincore02 mincore02 currently hangs and does not exit correctly
548 pathconf01 pathconf01
554 # The personality() system call is poorly documented
555 # and difficult to figure out how to use by looking
556 # at the different architecture specific kernel files.
557 #personality01 personality01
558 #personality02 personality02
603 readlink01A symlink01 -T readlink01
604 readlink01 readlink01
605 readlink02 readlink02
606 readlink03 readlink03
607 readlink04 cp -f $LTPROOT/testcases/bin/creat_slink $TMP; readlink04
618 recvfrom01 recvfrom01
623 rename01A symlink01 -T rename01
640 rmdir03A symlink01 -T rmdir03
646 sched_get_priority_max01 sched_get_priority_max01
647 sched_get_priority_max02 sched_get_priority_max02
649 sched_get_priority_min01 sched_get_priority_min01
650 sched_get_priority_min02 sched_get_priority_min02
652 sched_getparam01 sched_getparam01
653 sched_getparam02 sched_getparam02
654 sched_getparam03 sched_getparam03
656 sched_rr_get_interval01 sched_rr_get_interval01
657 sched_rr_get_interval02 sched_rr_get_interval02
658 sched_rr_get_interval03 sched_rr_get_interval03
660 sched_setparam01 sched_setparam01
661 sched_setparam02 sched_setparam02
662 sched_setparam03 sched_setparam03
663 sched_setparam04 sched_setparam04
664 sched_setparam05 sched_setparam05
666 sched_getscheduler01 sched_getscheduler01
667 sched_getscheduler02 sched_getscheduler02
669 sched_setscheduler01 sched_setscheduler01
670 sched_setscheduler02 sched_setscheduler02
672 sched_yield01 sched_yield01
700 sendfile02 sendfile02
701 sendfile03 sendfile03
707 setdomainname01 setdomainname01
708 setdomainname02 setdomainname02
709 setdomainname03 setdomainname03
711 setfsgid01 setfsgid01
712 setfsgid02 setfsgid02
713 setfsgid03 setfsgid03
715 setfsuid01 setfsuid01
716 setfsuid02 setfsuid02
717 setfsuid03 setfsuid03
718 setfsuid04 setfsuid04
726 setgroups01 setgroups01
727 setgroups02 setgroups02
728 setgroups03 setgroups03
729 setgroups04 setgroups04
731 sethostname01 sethostname01
732 sethostname02 sethostname02
733 sethostname03 sethostname03
735 setitimer01 setitimer01
736 setitimer02 setitimer02
737 setitimer03 setitimer03
746 setpriority01 setpriority01
747 setpriority02 setpriority02
748 setpriority03 setpriority03
749 setpriority04 setpriority04
750 setpriority05 setpriority05
752 setregid01 setregid01
753 setregid02 setregid02
754 setregid03 setregid03
755 setregid04 setregid04
757 setresgid01 setresgid01
758 setresgid02 setresgid02
759 setresgid03 setresgid03
761 setresuid01 setresuid01
762 setresuid02 setresuid02
763 setresuid03 setresuid03
764 setresuid04 setresuid04
766 setreuid01 setreuid01
767 setreuid02 setreuid02
768 setreuid03 setreuid03
769 setreuid04 setreuid04
770 setreuid05 setreuid05
771 setreuid06 setreuid06
772 setreuid07 setreuid07
774 setrlimit01 setrlimit01
775 setrlimit02 setrlimit02
776 setrlimit03 setrlimit03
780 setsockopt01 setsockopt01
782 settimeofday01 settimeofday01
783 settimeofday02 settimeofday02
808 sigaction01 sigaction01
809 sigaction02 sigaction02
811 sigaltstack01 sigaltstack01
812 sigaltstack02 sigaltstack02
823 sigpending02 sigpending02
825 sigprocmask01 sigprocmask01
827 sigrelse01 sigrelse01
829 sigsuspend01 sigsuspend01
834 socketcall01 socketcall01
835 socketcall02 socketcall02
836 socketcall03 socketcall03
837 socketcall04 socketcall04
839 socketpair01 socketpair01
841 sockioctl01 sockioctl01
846 stat04 symlink01 -T stat04
856 # This syscall is obsoleted by settimeofday.
910 # This syscall is obsoleted by gettimeofday.
917 truncate01 truncate01
918 truncate02 truncate02
919 truncate03 truncate03
920 truncate04 truncate04
922 # This syscall is obsolete. The latest glibc does not even
923 # include the ulimit.h file anymore. The test will fail
924 # because the error handling has been simplified.
936 unlink01 symlink01 -T unlink01
943 # These tests require an unmounted block device
944 # to run correctly. Please see individual test
945 # code for more information.
947 #umount01 umount01 -D /dev/...
948 #umount02 umount02 -D /dev/...
949 #umount03 umount03 -D /dev/...
955 utime01A symlink01 -T utime01
982 waitpid10 waitpid10 5
1000 #DESCRIPTION:Memory Mgmt tests
1001 mm01 mmap001 -m 10000
1002 # 40 Mb mmap() test.
1003 # Creates a 10000 page mmap, touches all of the map, sync's it, and
1006 # simple mmap() test.
1007 #mm03 mmap001 -i 0 -I 1 -m 100
1008 # repetitive mmapping test.
1009 # Creates a one page map repetitively for one minute.
1011 mtest01 mtest01 -p80
1012 mtest01w mtest01 -p80 -w
1014 #test for race conditions
1016 mtest06 mmap1 -x 0.05
1024 data_space data_space
1025 stack_space stack_space
1037 #DESCRIPTION:Scheduler Stress Tests
1039 pth_str02 pth_str02 -n1000
1042 #DESCRIPTION:Native POSIX Thread Library (NPTL) Tests
1045 #DESCRIPTION:Terminal type stress
1050 #DESCRIPTION:Filesystem stress tests
1051 gf01 growfiles -W gf01 -b -e 1 -u -i 0 -L 20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2
1052 gf02 growfiles -W gf02 -b -e 1 -L 10 -i 100 -I p -S 2 -u -f gf03_
1053 gf03 growfiles -W gf03 -b -e 1 -g 1 -i 1 -S 150 -u -f gf05_
1054 #gf04 growfiles -W gf04 -b -e 1 -g 4090 -i 500 -t 39000 -u -f gf06_
1055 #gf05 growfiles -W gf05 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -u -f gf07_
1056 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
1057 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
1058 #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
1059 #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
1060 gf10 growfiles -W gf10 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I l g_lio14 g_lio14.2
1061 gf11 growfiles -W gf11 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I L g_lio15 g_lio15.2
1062 gf12 mkfifo gffifo17; growfiles -b -W gf12 -e 1 -u -i 0 -L 30 gffifo17
1063 gf13 mkfifo gffifo18; growfiles -b -W gf13 -e 1 -u -i 0 -L 30 -I r -r 1-4096 gffifo18
1064 gf14 growfiles -W gf14 -b -e 1 -u -i 0 -L 20 -w -l -C 1 -T 10 glseek19 glseek19.2
1065 gf15 growfiles -W gf15 -b -e 1 -u -r 1-49600 -I r -u -i 0 -L 120 Lgfile1
1066 #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_
1067 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_
1068 gf18 growfiles -W gf18 -b -e 1 -i 0 -L 120 -w -u -r 10-5000 -I r -l -S 2 -f Lgf04_
1069 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_
1070 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-$$
1071 #gf21 growfiles -W gf21 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bld-$$
1072 #gf22 growfiles -W gf22 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bldf-$$
1073 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-$$
1074 gf24 growfiles -W gf24 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 gf-jbld-$$
1075 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-$$
1076 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-$$
1077 gf27 growfiles -W gf27 -b -D 0 -w -g 8b -C 1 -b -i 1000 -u gfsparse-1-$$
1078 #gf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$
1079 #gf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
1080 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-$$
1081 rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
1082 rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
1083 rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$
1084 rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$
1085 rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f