Ticket #2736: test2.sh

File test2.sh, 318 bytes (added by ami_stuff, 13 years ago)
Line 
1trap "exit" INT
2FILES=*.*
3for count in {18500..200000..500}
4do
5 ulimit -Sv $count
6for file in $FILES
7do
8 echo "ulimit -Sv $count"
9 ./ffmpeg6 -i $file -f null -
10 if [ $? -eq 139 ]; then
11 echo "Crashhhhhhh:"
12 echo "ulimit -Sv $count"
13 echo "./ffmpeg -i $file -f null -"
14 exit 1
15 fi
16done
17done
18