openbsd-ports/audio/normalize/patches/patch-test_test24bit_sh
kili 87ae9779c9 Update to normalize-0.7.7.
From new maintainer Vlad Glagolev (stelzy at gmail dot com).
The sparc64 workaround is no longer required (noticed by Stuart
Henderson, confirmed by sturm@).
2007-07-15 19:37:04 +00:00

34 lines
1.3 KiB
Plaintext

$OpenBSD: patch-test_test24bit_sh,v 1.2 2007/07/15 19:37:04 kili Exp $
--- test/test24bit.sh.orig Mon Apr 8 05:20:23 2002
+++ test/test24bit.sh Sun Jul 8 00:11:14 2007
@@ -19,12 +19,12 @@ echo "Testing 24-bit wavs..." >&3
../src/mktestwav -a 0.5 -b 3 -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 successfully...
# 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 ;;