aboutsummaryrefslogtreecommitdiffstats
path: root/tests/seek-regression.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-20 10:09:54 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-20 10:09:54 +0000
commitf729c4aea8c663935d1584ec727a36d2760f6e7c (patch)
treed1987da48f7b5cab456580f80f3db98fe2b47df9 /tests/seek-regression.sh
parentaff4137d5f29d0ea1382520a9143527814b45072 (diff)
downloadffmpeg-f729c4aea8c663935d1584ec727a36d2760f6e7c.tar.gz
regtest: rename seektest ref files using alphanumeric chars only
Originally committed as revision 24345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/seek-regression.sh')
-rwxr-xr-xtests/seek-regression.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/seek-regression.sh b/tests/seek-regression.sh
index cde4fd7566..8a479853a2 100755
--- a/tests/seek-regression.sh
+++ b/tests/seek-regression.sh
@@ -21,9 +21,9 @@ imgs=$(for i in $datadir/images/*; do echo "$i/%02d.${i##*/}"; done)
err=0
for i in $list $imgs; do
- base=$(basename $i)
+ base=$(basename $i | tr .- __ | sed 's/^%02d/image/')
logfile="$logdir/$base"
- reffile="$refdir/$base.ref"
+ reffile="$refdir/$base"
echo "TEST SEEK $base"
$echov $target_exec $target_path/tests/seek_test $target_path/$i
$target_exec $target_path/tests/seek_test $target_path/$i > $logfile