Add get_disc_mode to image readers.

Add it in cd-info display.
Update regression tests.

I'm not sure disc_mode is all that helpful or correct.
This commit is contained in:
rocky
2004-07-24 14:23:37 +00:00
parent c81ea6b678
commit b4cea7fd9e
22 changed files with 314 additions and 65 deletions

View File

@@ -23,6 +23,9 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-DA
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 audio false

View File

@@ -23,6 +23,9 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-DA
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 audio false

View File

@@ -1,5 +1,5 @@
#!/bin/sh
#$Id: check_cue.sh.in,v 1.19 2004/05/06 12:05:50 rocky Exp $
#$Id: check_cue.sh.in,v 1.20 2004/07/24 14:23:39 rocky Exp $
# Tests to see that BIN/CUE and cdrdao TOC file iamge reading is correct
# (via cd-info).
@@ -40,7 +40,7 @@ check_result $RC "cd-info TOC test $testnum" "cd-info $opts"
fname=isofs-m1
testnum='ISO 9660 mode1 CUE'
if test -f ${srcdir}/${fname}.bin ; then
opts="-q --cue-file ${srcdir}/${fname}.cue --iso9660"
opts="-q --no-disc-mode --cue-file ${srcdir}/${fname}.cue --iso9660"
test_cdinfo "$opts" ${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info CUE test $testnum" "$opts"
@@ -50,7 +50,7 @@ fi
testnum='ISO 9660 mode1 TOC'
if test -f ${srcdir}/${fname}.bin ; then
opts="-q --toc-file ${srcdir}/${fname}.toc --iso9660"
opts="-q --no-disc-mode --toc-file ${srcdir}/${fname}.toc --iso9660"
test_cdinfo "$opts" ${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info TOC test $testnum" "cd-info $opts"
@@ -66,12 +66,12 @@ else
fi
testnum='Video CD'
if test -f ${srcdir}/${fname}.bin ; then
opts="-q -c ${srcdir}/${fname}.cue --iso9660"
opts="-q --no-disc-mode -c ${srcdir}/${fname}.cue --iso9660"
test_cdinfo "$opts" ${fname}.dump $right
RC=$?
check_result $RC "cd-info CUE test $testnum" "cd-info $opts"
opts="-q -t ${srcdir}/${fname}.toc --iso9660"
opts="-q --no-disc-mode -t ${srcdir}/${fname}.toc --iso9660"
if test -f ${srcdir}/${fname}.toc ; then
test_cdinfo "$opts" ${fname}.dump $right
RC=$?
@@ -86,7 +86,7 @@ fi
fname=svcd_ogt_test_ntsc
testnum='Super Video CD'
if test -f ${srcdir}/${fname}.bin ; then
opts="-q --cue-file ${srcdir}/${fname}.cue $vcd_opt --iso9660"
opts="-q --no-disc-mode --cue-file ${srcdir}/${fname}.cue $vcd_opt --iso9660"
test_cdinfo "$opts" ${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cd-info CUE test $testnum" "cd-info $opts"

View File

@@ -22,6 +22,9 @@ Writing....
Can write CD-RW : Yes
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
Media Catalog Number (MCN): 0000010271955
__________________________________
CD Analysis Report

View File

@@ -22,6 +22,9 @@ Writing....
Can write CD-RW : Yes
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
Media Catalog Number (MCN): 0000010271955
__________________________________
CD Analysis Report

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM form 1 mode 2
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,7 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green?
1: 00:02:00 000000 data false

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM XA form2 mode 1
CD-ROM Track List (1 - 2)
#: MSF LSN Type Green?
1: 00:02:00 000000 XA true

View File

@@ -23,6 +23,7 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
CD-ROM Track List (1 - 2)
#: MSF LSN Type Green?
1: 00:02:00 000000 XA true

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM XA form2 mode 1
CD-ROM Track List (1 - 2)
#: MSF LSN Type Green?
1: 00:02:00 000000 XA true

View File

@@ -23,6 +23,7 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
CD-ROM Track List (1 - 3)
#: MSF LSN Type Green?
1: 00:02:00 000000 XA true

View File

@@ -23,6 +23,8 @@ Writing....
Can write DVD-R : No
Can write DVD-RAM : No
__________________________________
Disc mode is listed as: CD-ROM XA form2 mode 1
CD-ROM Track List (1 - 5)
#: MSF LSN Type Green?
1: 00:02:00 000000 XA true