$OpenBSD: patch-test_test8bit_sh,v 1.2 2007/07/15 19:37:04 kili Exp $ --- test/test8bit.sh.orig Mon Apr 8 05:20:23 2002 +++ test/test8bit.sh Sun Jul 8 00:11:14 2007 @@ -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 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 ;;