]> git.sesse.net Git - ffmpeg/commitdiff
configure: match regtest ref files more strictly
authorMåns Rullgård <mans@mansr.com>
Mon, 12 Jul 2010 21:17:10 +0000 (21:17 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 12 Jul 2010 21:17:10 +0000 (21:17 +0000)
Only names consisting of letters, numbers, hyphens, and underscores
are allowed.

Originally committed as revision 24222 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 0690668096b106f089a745061c5f21a3b2117ce7..2a1d520e1cb992c63816fd1c9c73dbd891d25e49 100755 (executable)
--- a/configure
+++ b/configure
@@ -1609,7 +1609,7 @@ PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c)
 FILTER_LIST=$(find_things   filter   FILTER   libavfilter/allfilters.c)
 
 find_tests(){
-    map 'echo ${v}_test' $(ls "$source_path"/tests/ref/$1)
+    map 'echo ${v}_test' $(ls "$source_path"/tests/ref/$1 | grep -v '[^-a-z0-9_]')
 }
 
 ACODEC_TESTS=$(find_tests acodec)