[FFmpeg-cvslog] r22151 - in trunk/tests: seek-regression.sh seek.regression.ref

Måns Rullgård mans
Tue Mar 2 20:29:44 CET 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> On Tue, Mar 02, 2010 at 08:42:10PM +0300, Michael Kostylev wrote:
>> 
>> On Tue Mar  2 17:35:40 2010
>> M?ns Rullg?rd wrote:
>> 
>> >> Log:
>> >> Remove the self reference in the seektest that prevented it from
>> >> testing new formats since 2 years namely r11831.
>> >> This likely will uncover bugs that gone unnoticed in the last 2 years
>> >> due to lack of testing.
>> >>
>> >> Modified:
>> >>    trunk/tests/seek-regression.sh
>> >>    trunk/tests/seek.regression.ref
>> >>
>> >> Modified: trunk/tests/seek-regression.sh
>> >> ==============================================================================
>> >> --- trunk/tests/seek-regression.sh	Tue Mar  2 18:16:25 2010	(r22150)
>> >> +++ trunk/tests/seek-regression.sh	Tue Mar  2 18:29:04 2010	(r22151)
>> >> @@ -11,7 +11,7 @@ datadir="tests/data"
>> >>  logfile="$datadir/seek.regression"
>> >>  reffile="$1"
>> >>
>> >> -list=$(grep '^tests/data/[ab]-' "$reffile")
>> >> +list=$(grep -oh ' ./tests/data/.*' tests/ref/{acodec,lavf,vsynth1}/*| sort)
>> > 
>> > grep -oh is not POSIX-compatible. 
>> 
>> As well as {acodec,lavf,vsynth1}
>
> how can one test posix compiance easily?

Read the spec and follow it.  Do _not_ read GNU man pages.

> a /bin/pedantic_posix_sh would be nice that as shell supported jut posix
> stuff and would filter all non posix options to all posix command and
> disallow calling any non posix tools in /usr/bin & /bin
>
> does something like this exist?

Some of the GNU tools claim to be more strictly compliant if some
magic env var is set.  I don't remember the name of it, and I don't
quite trust it to work either.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list