summaryrefslogtreecommitdiffstats
path: root/mpeglib/example/yaf/yafmpgplay/stresstest
blob: 1d73ad92b335808b90ee738239987e20296ad32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

declare -i zahl=100
declare -i zahl1=3
rm -f jumptable
echo "sleep 5" >>jumptable

while [ 0 -le $zahl ] ; do 
 echo "j $zahl" >>jumptable
 echo "sleep 0" >>jumptable
 echo "j $zahl1" >>jumptable
 echo "sleep 0" >>jumptable

 zahl=$[zahl-7]
 zahl1=$[zahl1+7]
done
echo "sleep 20" >>jumptable
echo "quit" >>jumptable

for i in "/mnt/diskD/mpeg"/* ; do
 echo "open $i" >yaf.script
 ./yaf-mpgplay <jumptable
 sleep 5
done