diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-09-15 19:58:35 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-09-15 20:10:06 +1000 |
commit | d6fa29071fd24b719ebe8bc7e299b21f28ac182d (patch) | |
tree | eaf3d493a5b56f93ca7d764179d1821ae31e93a2 /test/test_seeking.sh | |
parent | e21237a87f69196bad38e06cabbcd3c88a62de14 (diff) | |
download | flac-d6fa29071fd24b719ebe8bc7e299b21f28ac182d.tar.gz |
test/test_seeking.sh : Fix detection of Ogg support.
Diffstat (limited to 'test/test_seeking.sh')
-rwxr-xr-x | test/test_seeking.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_seeking.sh b/test/test_seeking.sh index 7708c580..8057038b 100755 --- a/test/test_seeking.sh +++ b/test/test_seeking.sh @@ -78,15 +78,13 @@ run_test_seeking () fi } -echo "Checking for --ogg support in flac..." -if flac --ogg --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then +echo -n "Checking for --ogg support in flac ... " +if flac --ogg --no-error-on-compression-fail --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then has_ogg=yes; - echo "flac --ogg works" else has_ogg=no; - echo "flac --ogg doesn't work" fi - +echo ${has_ogg} echo "Generating streams..." if [ ! -f noise.raw ] ; then |