1f08c3bdfSopenharmony_ci#DESCRIPTION:Filesystem stress tests 2f08c3bdfSopenharmony_cigf01 growfiles -W gf01 -b -e 1 -u -i 0 -L 20 -w -C 1 -l -I r -T 10 -f glseek20 -S 2 -d $TMPDIR 3f08c3bdfSopenharmony_cigf02 growfiles -W gf02 -b -e 1 -L 10 -i 100 -I p -S 2 -u -f gf03_ -d $TMPDIR 4f08c3bdfSopenharmony_cigf03 growfiles -W gf03 -b -e 1 -g 1 -i 1 -S 150 -u -f gf05_ -d $TMPDIR 5f08c3bdfSopenharmony_cigf04 growfiles -W gf04 -b -e 1 -g 4090 -i 500 -t 39000 -u -f gf06_ -d $TMPDIR 6f08c3bdfSopenharmony_cigf05 growfiles -W gf05 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -u -f gf07_ -d $TMPDIR 7f08c3bdfSopenharmony_cigf06 growfiles -W gf06 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 -f g_rand10 -S 2 -d $TMPDIR 8f08c3bdfSopenharmony_cigf07 growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I p -f g_rand13 -S 2 -d $TMPDIR 9f08c3bdfSopenharmony_cigf08 growfiles -W gf08 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -f g_rand11 -S 2 -d $TMPDIR 10f08c3bdfSopenharmony_cigf09 growfiles -W gf09 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 -I p -f g_rand12 -S 2 -d $TMPDIR 11f08c3bdfSopenharmony_cigf10 growfiles -W gf10 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I l -f g_lio14 -S 2 -d $TMPDIR 12f08c3bdfSopenharmony_cigf11 growfiles -W gf11 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I L -f g_lio15 -S 2 -d $TMPDIR 13f08c3bdfSopenharmony_cigf12 mkfifo $TMPDIR/gffifo17; growfiles -b -W gf12 -e 1 -u -i 0 -L 30 $TMPDIR/gffifo17 14f08c3bdfSopenharmony_cigf13 mkfifo $TMPDIR/gffifo18; growfiles -b -W gf13 -e 1 -u -i 0 -L 30 -I r -r 1-4096 $TMPDIR/gffifo18 15f08c3bdfSopenharmony_cigf14 growfiles -W gf14 -b -e 1 -u -i 0 -L 20 -w -l -C 1 -T 10 -f glseek19 -S 2 -d $TMPDIR 16f08c3bdfSopenharmony_cigf15 growfiles -W gf15 -b -e 1 -u -r 1-49600 -I r -u -i 0 -L 120 -f Lgfile1 -d $TMPDIR 17f08c3bdfSopenharmony_cigf16 growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 101 -t 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ -d $TMPDIR 18f08c3bdfSopenharmony_cigf17 growfiles -W gf17 -b -e 1 -i 0 -L 120 -u -g 5000 -T 101 -t 499990 -l -C 10 -c 1000 -S 10 -f Lgf03_ -d $TMPDIR 19f08c3bdfSopenharmony_cigf18 growfiles -W gf18 -b -e 1 -i 0 -L 120 -w -u -r 10-5000 -I r -l -S 2 -f Lgf04_ -d $TMPDIR 20f08c3bdfSopenharmony_cigf19 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_ -d $TMPDIR 21f08c3bdfSopenharmony_cigf20 growfiles -W gf20 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 1-256000:512 -R 512-256000 -T 4 -f gfbigio-$$ -d $TMPDIR 22f08c3bdfSopenharmony_cigf21 growfiles -W gf21 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 -f gf-bld-$$ -d $TMPDIR 23f08c3bdfSopenharmony_cigf22 growfiles -W gf22 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 -f gf-bldf-$$ -d $TMPDIR 24f08c3bdfSopenharmony_cigf23 growfiles -W gf23 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 512-64000:1024 -R 1-384000 -T 4 -f gf-inf-$$ -d $TMPDIR 25f08c3bdfSopenharmony_cigf24 growfiles -W gf24 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -f gf-jbld-$$ -d $TMPDIR 26f08c3bdfSopenharmony_cigf25 growfiles -W gf25 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 1024000-2048000:2048 -R 4095-2048000 -T 1 -f gf-large-gs-$$ -d $TMPDIR 27f08c3bdfSopenharmony_cigf26 growfiles -W gf26 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 128-32768:128 -R 512-64000 -T 4 -f gfsmallio-$$ -d $TMPDIR 28f08c3bdfSopenharmony_cigf27 growfiles -W gf27 -b -D 0 -w -g 8b -C 1 -b -i 1000 -u -f gfsparse-1-$$ -d $TMPDIR 29f08c3bdfSopenharmony_cigf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u -f gfsparse-2-$$ -d $TMPDIR 30f08c3bdfSopenharmony_cigf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C 1 -u -f gfsparse-3-$$ -d $TMPDIR 31f08c3bdfSopenharmony_cigf30 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 -f gf-sync-$$ -d $TMPDIR 32f08c3bdfSopenharmony_cirwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:$TMPDIR/rw-sync-$$ 33f08c3bdfSopenharmony_cirwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:$TMPDIR/rw-buffered-$$ 34f08c3bdfSopenharmony_cirwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:$TMPDIR/mm-buff-$$ 35f08c3bdfSopenharmony_cirwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:$TMPDIR/mm-sync-$$ 36f08c3bdfSopenharmony_cirwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:$TMPDIR/rwtest01%f 37f08c3bdfSopenharmony_ci 38f08c3bdfSopenharmony_ci#must be run as root 39f08c3bdfSopenharmony_ci#iogen01 iogen -i 120s -s read,write 500b:doio.f1.$$ 1000b:doio.f2.$$ | doio -akv -n 2 40f08c3bdfSopenharmony_ciiogen01 export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:$TMPDIR/doio.f1.$$ 1000b:$TMPDIR/doio.f2.$$ 41f08c3bdfSopenharmony_ci 42f08c3bdfSopenharmony_cifs_inod01 fs_inod $TMPDIR 10 10 10 43f08c3bdfSopenharmony_cilinker01 linktest.sh 44f08c3bdfSopenharmony_ciopenfile01 openfile -f10 -t10 45f08c3bdfSopenharmony_ciinode01 inode01 46f08c3bdfSopenharmony_ciinode02 inode02 47f08c3bdfSopenharmony_cistream01 stream01 48f08c3bdfSopenharmony_cistream02 stream02 49f08c3bdfSopenharmony_cistream03 stream03 50f08c3bdfSopenharmony_cistream04 stream04 51f08c3bdfSopenharmony_cistream05 stream05 52f08c3bdfSopenharmony_ciftest01 ftest01 53f08c3bdfSopenharmony_ciftest02 ftest02 54f08c3bdfSopenharmony_ciftest03 ftest03 55f08c3bdfSopenharmony_ciftest04 ftest04 56f08c3bdfSopenharmony_ciftest05 ftest05 57f08c3bdfSopenharmony_ciftest06 ftest06 58f08c3bdfSopenharmony_ciftest07 ftest07 59f08c3bdfSopenharmony_ciftest08 ftest08 60f08c3bdfSopenharmony_ci 61f08c3bdfSopenharmony_cilftest01 lftest 62f08c3bdfSopenharmony_ciwritetest01 writetest 63f08c3bdfSopenharmony_ci 64f08c3bdfSopenharmony_ci#Also run the fs_di (Data Integrity tests) 65f08c3bdfSopenharmony_cifs_di fs_di -d $TMPDIR 66f08c3bdfSopenharmony_ci 67f08c3bdfSopenharmony_ci# Read every file in /proc. Not likely to crash, but does enough 68f08c3bdfSopenharmony_ci# to disturb the kernel. A good kernel latency killer too. 69f08c3bdfSopenharmony_ci# Was not sure why it should reside in runtest/crashme and won't get tested ever 70f08c3bdfSopenharmony_ciproc01 proc01 -m 128 71f08c3bdfSopenharmony_ci 72f08c3bdfSopenharmony_ciread_all_dev read_all -d /dev -p -q -r 3 73f08c3bdfSopenharmony_ciread_all_proc read_all -d /proc -q -r 3 74f08c3bdfSopenharmony_ciread_all_sys read_all -d /sys -q -r 3 75f08c3bdfSopenharmony_ci 76f08c3bdfSopenharmony_ci#Run the File System Race Condition Check tests as well 77f08c3bdfSopenharmony_cifs_racer fs_racer.sh -t 5 78f08c3bdfSopenharmony_ci 79f08c3bdfSopenharmony_ci#Run the Quota Remount Test introduced in linux-2.6.26 80f08c3bdfSopenharmony_ciquota_remount_test01 quota_remount_test01.sh 81f08c3bdfSopenharmony_ci 82f08c3bdfSopenharmony_ciisofs isofs.sh 83f08c3bdfSopenharmony_ci 84f08c3bdfSopenharmony_cifs_fill fs_fill 85f08c3bdfSopenharmony_ci 86f08c3bdfSopenharmony_cibinfmt_misc01 binfmt_misc01.sh 87f08c3bdfSopenharmony_cibinfmt_misc02 binfmt_misc02.sh 88f08c3bdfSopenharmony_ci 89f08c3bdfSopenharmony_cisquashfs01 squashfs01 90