Ticket #2736: test2.sh
| File test2.sh, 318 bytes (added by , 13 years ago) |
|---|
| Line | |
|---|---|
| 1 | trap "exit" INT |
| 2 | FILES=*.* |
| 3 | for count in {18500..200000..500} |
| 4 | do |
| 5 | ulimit -Sv $count |
| 6 | for file in $FILES |
| 7 | do |
| 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 |
| 16 | done |
| 17 | done |
| 18 |
