don't try to test streams which are commented out in test.conf
authorAurelien Jacobs <aurel@gnuage.org>
Sun, 26 Feb 2006 22:49:16 +0000 (22:49 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sun, 26 Feb 2006 22:49:16 +0000 (22:49 +0000)
Originally committed as revision 5068 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffserver.regression.ref
tests/server-regression.sh

index a2f560c..e20c062 100644 (file)
@@ -1,7 +1,5 @@
 03867bfc9f7dd494cbe2b71aa0ce6537  ff-test_h.avi
 ef4887809ddeb782ed66bf34cb506dcf  ff-test_l.avi
-d41d8cd98f00b204e9800998ecf8427e  ff-test_h.mpg
-d41d8cd98f00b204e9800998ecf8427e  ff-test_l.mpg
 0f1795f0496f37aeea6272d272140efa  ff-test.swf
 f842864a654593ea9ee9d7a1bd024627  ff-test_h.asf
 5c12fa55e6b7fbade1b142ecf430a679  ff-test_l.asf
index c93f99f..e3562f1 100755 (executable)
@@ -14,7 +14,7 @@ cp "$2" data/test.conf
 #perl -e 'chomp($wd = `pwd`); print map { s!data/!!; "<Stream $_>\nFile $wd/data/$_\n</Stream>\n\n" } @ARGV' data/a* >> data/test.conf
 #perl -e 'chomp($wd = `pwd`); print map { s!data/!!; "<Stream $_.asf>\nFile $wd/data/$_\n</Stream>\n\n" } @ARGV' data/a* >> data/test.conf
 
-FILES=`sed -n 's/.*<Stream \(.*\)>.*/\1/p' data/test.conf | grep -v html`
+FILES=`sed -n 's/^[^#]*<Stream \(.*\)>.*/\1/p' data/test.conf | grep -v html`
 
 rm -f /tmp/feed.ffm
 ../ffserver -d -f data/test.conf 2> /dev/null &