openbsd-ports/audio/normalize/patches/patch-test_test8bit_sh
jasoni ac82fb07dd Import normalize.
normalize is a tool for adjusting the volume of audio files to a
standard level. This is useful for things like creating mixed
CD's and mp3 collections, where different recording levels on
different albums can cause the volume to vary greatly from song
to song.
2002-04-28 09:11:37 +00:00

34 lines
1.3 KiB
Plaintext

$OpenBSD: patch-test_test8bit_sh,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $
--- test/test8bit.sh.orig Sun Apr 21 22:08:08 2002
+++ test/test8bit.sh Sun Apr 21 22:09:40 2002
@@ -19,12 +19,12 @@ echo "Testing 8-bit wavs..." >&3
../src/mktestwav -a 0.5 -b 1 -c 2 stereo.wav
# Check that the files written by mktestwav are correct
-CHKSUM=`tail -c +44 mono.wav | md5sum`
+CHKSUM=`tail -c +44 mono.wav | md5`
case "$CHKSUM" in
$MONO_BEFORE*) ;;
*) echo "FAIL: created mono.wav has bad checksum!" >&3; exit 1 ;;
esac
-CHKSUM=`tail -c +44 stereo.wav | md5sum`
+CHKSUM=`tail -c +44 stereo.wav | md5`
case "$CHKSUM" in
$STEREO_BEFORE*) ;;
*) echo "FAIL: created stereo.wav has bad checksum!" >&3; exit 1 ;;
@@ -53,12 +53,12 @@ echo "mono.wav and stereo.wav measured s
# Check that normalize correctly normalizes the volume of the files
../src/normalize -q mono.wav
../src/normalize -q stereo.wav
-CHKSUM=`tail -c +44 mono.wav | md5sum`
+CHKSUM=`tail -c +44 mono.wav | md5`
case "$CHKSUM" in
$MONO_AFTER*) ;;
*) echo "FAIL: adjusted mono.wav has bad checksum!" >&3; exit 1 ;;
esac
-CHKSUM=`tail -c +44 stereo.wav | md5sum`
+CHKSUM=`tail -c +44 stereo.wav | md5`
case "$CHKSUM" in
$STEREO_AFTER*) ;;
*) echo "FAIL: adjusted stereo.wav has bad checksum!" >&3; exit 1 ;;