test/check_paranoia.sh.in: need to ignore variance in status.

This commit is contained in:
rocky
2008-03-08 18:11:11 +00:00
parent 40fe8bcd2d
commit b04b348e69
3 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
outputting to cdda.raw
(== PROGRESS == [++- - - | 000301 10 ] == :^D * ==)
(== PROGRESS == [] == :^D * ==)

View File

@@ -1,5 +1,5 @@
#!/bin/sh
# $Id: check_paranoia.sh.in,v 1.14 2008/03/08 16:45:19 rocky Exp $
# $Id: check_paranoia.sh.in,v 1.15 2008/03/08 18:11:11 rocky Exp $
# Compare our cd-paranoia with known good results.
if test "X$srcdir" = "X" ; then
@@ -52,7 +52,7 @@ if test "@CMP@" != no -a "@BUILD_CD_PARANOIA_TRUE@"X = X ; then
echo "** Small jitter correction problem"
exit 3
fi
tail -3 ./cd-paranoia.log > ./cd-paranoia-filtered.log
tail -3 ./cd-paranoia.log | sed -e's/\[.*\]/\[\]/' > ./cd-paranoia-filtered.log
if @CMP@ $srcdir/cd-paranoia-log.right ./cd-paranoia-filtered.log ; then
echo "** --log option okay"
rm ./cd-paranoia.log ./cd-paranoia-filtered.log