cd_types: sector 0 rarely needs to be read, and when it doesn't, it's not

an error if it can't be read
cd-info:  give more info by default - source location and driver.
test/*:   as a result of cd-info changes need now to pass option --quiet.
This commit is contained in:
rocky
2003-10-06 04:04:05 +00:00
parent 5bf9f94b89
commit 359cf083a8
5 changed files with 31 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
#$Id: check_cue.sh.in,v 1.14 2003/09/30 03:26:11 rocky Exp $
#$Id: check_cue.sh.in,v 1.15 2003/10/06 04:04:05 rocky Exp $
# Tests to see that BIN/CUE file iamge reading is correct (via cd-info).
if test -n "@VCDINFO_LIBS@" ; then
vcd_opt='--no-vcd'
@@ -19,12 +19,12 @@ BASE=`basename $0 .sh`
fname=cdda
testnum=CD-DA
test_cdinfo "--cue-file ${srcdir}/${fname}.cue --no-cddb" \
test_cdinfo "--quiet --cue-file ${srcdir}/${fname}.cue --no-cddb" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info CUE test $testnum"
test_cdinfo "--bin-file ${srcdir}/${fname}.bin --no-cddb" \
test_cdinfo "--quiet --bin-file ${srcdir}/${fname}.bin --no-cddb" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info BIN test $testnum"
@@ -32,7 +32,7 @@ check_result $RC "cd-info BIN test $testnum"
fname=isofs-m1
testnum='ISO 9660 mode1'
if test -f ${srcdir}/${fname}.bin ; then
test_cdinfo "--cue-file ${srcdir}/${fname}.cue --iso9660 " \
test_cdinfo "-q --cue-file ${srcdir}/${fname}.cue --iso9660" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info CUE test $testnum"
@@ -48,7 +48,7 @@ else
fi
testnum='Video CD'
if test -f ${srcdir}/${fname}.cue ; then
test_cdinfo "-c ${srcdir}/vcd_demo.cue --iso9660" \
test_cdinfo "-q -c ${srcdir}/vcd_demo.cue --iso9660" \
${fname}.dump $right
RC=$?
check_result $RC "cd-info CUE test $testnum"
@@ -59,7 +59,7 @@ fi
fname=svcd_ogt_test_ntsc
testnum='Super Video CD'
if test -f ${srcdir}/${fname}.bin ; then
test_cdinfo "--cue-file ${srcdir}/${fname}.cue $vcd_opt --iso9660 " \
test_cdinfo "-q --cue-file ${srcdir}/${fname}.cue $vcd_opt --iso9660" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info CUE test $testnum"

View File

@@ -1,5 +1,5 @@
#!/bin/sh
#$Id: check_nrg.sh.in,v 1.8 2003/09/30 03:26:11 rocky Exp $
#$Id: check_nrg.sh.in,v 1.9 2003/10/06 04:04:05 rocky Exp $
if test -n "@VCDINFO_LIBS@" ; then
vcd_opt='--no-vcd'
@@ -18,7 +18,7 @@ fi
BASE=`basename $0 .sh`
fname=videocd
test_cdinfo "--nrg-file ${srcdir}/${fname}.nrg $vcd_opt --iso9660 " \
test_cdinfo "--quiet --nrg-file ${srcdir}/${fname}.nrg $vcd_opt --iso9660 " \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'cd-info NRG test 1'
@@ -27,7 +27,7 @@ BASE=`basename $0 .sh`
nrg_file=${srcdir}/monvoisin.nrg
if test -f $nrg_file ; then
test_cdinfo "--nrg-file $nrg_file $vcd_opt --iso9660 " \
test_cdinfo "-q --nrg-file $nrg_file $vcd_opt --iso9660 " \
monvoisin.dump ${srcdir}/monvoisin.right
RC=$?
check_result $RC 'cd-info NRG test 2'
@@ -38,7 +38,7 @@ fi
nrg_file=${srcdir}/svcdgs.nrg
if test -f $nrg_file ; then
test_cdinfo "--nrg-file $nrg_file $vcd_opt --iso9660" \
test_cdinfo "-q --nrg-file $nrg_file $vcd_opt --iso9660" \
svcdgs.dump ${srcdir}/svcdgs.right
RC=$?
check_result $RC 'cd-info NRG test 3'

View File

@@ -1,5 +1,5 @@
#!/bin/sh
#$Id: check_opts.sh,v 1.4 2003/09/20 00:28:32 rocky Exp $
#$Id: check_opts.sh,v 1.5 2003/10/06 04:04:05 rocky Exp $
# Check cd-info options
if test -z "$srcdir" ; then
srcdir=`pwd`
@@ -15,10 +15,10 @@ BASE=`basename $0 .sh`
fname=isofs-m1
i=0
for opt in '-T' '--no-tracks' '-A' '--no-analyze' '-I' '-no-ioctl' \
for opt in '-T' '--no-tracks' '-A' '--no-analyze' '-I' '--no-ioctl' \
'-q' '--quiet' ; do
testname=${BASE}$i
test_cdinfo "--cue-file ${srcdir}/${fname}.cue $opt" \
test_cdinfo "--cue-file ${srcdir}/${fname}.cue $opt --quiet" \
${testname}.dump ${srcdir}/${testname}.right
RC=$?
check_result $RC "cd-info option test $opt"