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

Michael Niedermayer michaelni
Tue Mar 2 20:56:00 CET 2010


On Tue, Mar 02, 2010 at 07:29:44PM +0000, M?ns Rullg?rd wrote:
> 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.

i tend to read <whatever> --help
is the spec available in some more convenient form than html,
like ascii or installable manpages?


> 
> > 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.

found 2 neither works

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100302/93a97fd5/attachment-0001.pgp>



More information about the ffmpeg-cvslog mailing list