patch-test_test8bit_sh 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. $OpenBSD: patch-test_test8bit_sh,v 1.2 2007/07/15 19:37:04 kili Exp $
  2. --- test/test8bit.sh.orig Mon Apr 8 05:20:23 2002
  3. +++ test/test8bit.sh Sun Jul 8 00:11:14 2007
  4. @@ -19,12 +19,12 @@ echo "Testing 8-bit wavs..." >&3
  5. ../src/mktestwav -a 0.5 -b 1 -c 2 stereo.wav
  6. # Check that the files written by mktestwav are correct
  7. -CHKSUM=`tail -c +44 mono.wav | md5sum`
  8. +CHKSUM=`tail -c +44 mono.wav | md5`
  9. case "$CHKSUM" in
  10. $MONO_BEFORE*) ;;
  11. *) echo "FAIL: created mono.wav has bad checksum!" >&3; exit 1 ;;
  12. esac
  13. -CHKSUM=`tail -c +44 stereo.wav | md5sum`
  14. +CHKSUM=`tail -c +44 stereo.wav | md5`
  15. case "$CHKSUM" in
  16. $STEREO_BEFORE*) ;;
  17. *) echo "FAIL: created stereo.wav has bad checksum!" >&3; exit 1 ;;
  18. @@ -53,12 +53,12 @@ echo "mono.wav and stereo.wav measured successfully...
  19. # Check that normalize correctly normalizes the volume of the files
  20. ../src/normalize -q mono.wav
  21. ../src/normalize -q stereo.wav
  22. -CHKSUM=`tail -c +44 mono.wav | md5sum`
  23. +CHKSUM=`tail -c +44 mono.wav | md5`
  24. case "$CHKSUM" in
  25. $MONO_AFTER*) ;;
  26. *) echo "FAIL: adjusted mono.wav has bad checksum!" >&3; exit 1 ;;
  27. esac
  28. -CHKSUM=`tail -c +44 stereo.wav | md5sum`
  29. +CHKSUM=`tail -c +44 stereo.wav | md5`
  30. case "$CHKSUM" in
  31. $STEREO_AFTER*) ;;
  32. *) echo "FAIL: adjusted stereo.wav has bad checksum!" >&3; exit 1 ;;