#!/bin/sh
# $Id: check_paranoia.sh.in,v 1.2 2005/01/15 10:17:17 rocky Exp $
# Compare our cd-paranoia with an installed cdparanoia
if test "@CMP@" != no -a "@BUILD_CD_PARANOIA_TRUE@"X = X ; then
../src/cd-paranoia/cd-paranoia -d ./cdda.cue -v -r -- "1-"
dd bs=16 skip=17 if=./cdda.raw of=./cdda-1.raw
dd bs=16 if=./cdda.bin of=cdda-2.raw count=44377
if @CMP@ ./cdda-1.raw ./cdda-2.raw ; then
echo "** Raw cdda.bin extraction okay"
else
echo "** Raw cdda.bin extraction differ"
exit 3
fi
exit 0
echo "Don't see libcdio cd-paranoia program. Test skipped."
exit 77
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***