Add set -e to stop test_metaflac.sh
authorMartijn van Beurden <mvanb1@gmail.com>
Thu, 25 Apr 2013 13:20:23 +0000 (15:20 +0200)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Thu, 25 Apr 2013 20:33:37 +0000 (06:33 +1000)
commit690205baf3c970f855cc267ef0976dedaf8bbe04
tree6b4dae2bd8a8759f2848a03eaa36dec850a39931
parent69c44a51de295a6eb91ab0fdb1777d222395dab0
Add set -e to stop test_metaflac.sh

test_metaflac.sh wasn't aborting when replaygain values were
incorrect because the die() function was embedded in a pipe.
set -e was added so the script exits with a non-zero exit code
when die is called in a pipe.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
test/test_metaflac.sh