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

Earl Chew
2012-03-12T02:40:28Z

Erik,

I'm using bash.? Before I alter the syntax, what shell are you using ?

Earl



________________________________
 From: Erik de Castro Lopo <mle+la at mega-nerd.com>
To: flac-dev at xiph.org
Cc: Earl Chew <earl_chew at yahoo.com>
Sent: Sunday, March 11, 2012 3:16:11 AM
Subject: Re: [flac-dev] PATCH: Add test for metaflac --add-replay-gain

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/
-------------- next part --------------
An HTML attachment was scrubbed...