34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
|
$OpenBSD: patch-test_test16bit_sh,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $
|
||
|
--- test/test16bit.sh.orig Sun Apr 21 22:07:55 2002
|
||
|
+++ test/test16bit.sh Sun Apr 21 22:09:00 2002
|
||
|
@@ -19,12 +19,12 @@ echo "Testing 16-bit wavs..." >&3
|
||
|
../src/mktestwav -a 0.5 -b 2 -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 ;;
|