diff --git a/tests/ffserver-regression.sh b/tests/ffserver-regression.sh
index 592787d7459783b4a38e260e467b0235022de924..182fe2d35cf0316f78a3dba640a1120bea765249 100755
--- a/tests/ffserver-regression.sh
+++ b/tests/ffserver-regression.sh
@@ -3,6 +3,8 @@
#perl -e 'chomp($wd = `pwd`); print map { s!tests/data/!!; "\nFile $wd/tests/data/$_\n\n\n" } @ARGV' tests/data/a* >> tests/data/ffserver.conf
#perl -e 'chomp($wd = `pwd`); print map { s!tests/data/!!; "\nFile $wd/tests/data/$_\n\n\n" } @ARGV' tests/data/a* >> tests/data/ffserver.conf
+. $(dirname $0)/regression-funcs.sh
+
FILES=$(sed -n 's/^[^#]*.*/\1/p' $2 | grep -v html)
rm -f tests/feed1.ffm
@@ -24,7 +26,7 @@ sleep 2
done
wait
# the status page is always different
- md5sum $MDFILES > ffserver.regression
+ do_md5sum $MDFILES > ffserver.regression
)
kill $FFSERVER_PID
wait > /dev/null 2>&1