[flac-dev] PATCH: Add test for metaflac --add-replay-gain

Erik de Castro Lopo mle+la at mega-nerd.com
Sun Mar 11 03:16:11 PDT 2012


Earl Chew wrote:

> There is only one test to verify handling of harmonics of the filter table
> sampling frequencies.

Earl,

I've had a couple of attempts to get this patch working, without luck.

With this patch applied, when i run the test_metaflac.sh script, I get:

    Testing FLAC file with unknown metadata... OK
    ./test_metaflac.sh: line 450: syntax error near unexpected token `then'
    ./test_metaflac.sh: line 450: `  then'

It's basically barfing at this line:

  if [ -n "${ACTION##*:*}" ] ; then

Not sure where to go with this. You offerred Perl which I rejected mainly
because I read Perl :-). Are you comfortable with Python?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list