diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-02-05 18:15:03 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-02-05 18:15:03 +0000 |
commit | f97b7e66de986dc7337b36fc2a8bcd5fb6fa5d86 (patch) | |
tree | 9f32ea0a59c1c982f9eab9e65c74efc2ad5e6be1 /tests/seek_test.sh | |
parent | 079dd4ba317be0f02ddf928e67856104353e623a (diff) | |
download | ffmpeg-f97b7e66de986dc7337b36fc2a8bcd5fb6fa5d86.tar.gz |
seek regression tests
Originally committed as revision 7832 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/seek_test.sh')
-rwxr-xr-x | tests/seek_test.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/seek_test.sh b/tests/seek_test.sh new file mode 100755 index 0000000000..eeac747b1c --- /dev/null +++ b/tests/seek_test.sh @@ -0,0 +1,25 @@ +#!/bin/sh +#feel free to clean this up ive made no attempt to write this overly portable ... + +datadir="./data" + +logfile="$datadir/seek.regression" +reffile="$1" + +list=`ls data/a-* data/b-* | sort` +rm $logfile +for i in $list ; do + echo ---------------- >>$logfile + echo $i >>$logfile + ./seek_test $i >> $logfile +done + +if diff -u "$logfile" "$reffile" ; then + echo + echo Regression test succeeded. + exit 0 +else + echo + echo Regression test: Error. + exit 1 +fi |