Add a CD audio test and an ISO 9660 joliet extension tst.

Add in the Video CD images I've been using.
This commit is contained in:
rocky
2003-04-06 06:46:52 +00:00
parent facf8a483c
commit 15a9864b38
7 changed files with 51 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# $Id: Makefile.am,v 1.1 2003/03/24 19:01:10 rocky Exp $
# $Id: Makefile.am,v 1.2 2003/04/06 06:46:52 rocky Exp $
#
# Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
#
@@ -22,7 +22,8 @@
#
check_SCRIPTS = check_nrg.sh check_cue.sh
check_DATA = monvoisin.right svcd_ogt_test_ntsc.right vcd_demo.right
check_DATA = monvoisin.right svcd_ogt_test_ntsc.right vcd_demo.right \
fsf-tompox.right fsf-tompox.cue fsf-tompox.bin
EXTRA_DIST = $(check_SCRIPTS) $(check_DATA) \
check_common_fn

View File

@@ -1,5 +1,5 @@
#!/bin/sh
#$Id: check_cue.sh,v 1.1 2003/03/24 19:01:10 rocky Exp $
#$Id: check_cue.sh,v 1.2 2003/04/06 06:46:52 rocky Exp $
if test -z $srcdir ; then
srcdir=`pwd`
@@ -9,16 +9,34 @@ fi
BASE=`basename $0 .sh`
test_cdinfo "--cue-file ${srcdir}/svcd_ogt_test_ntsc.cue" \
svcd_ogt_test_ntsc.dump ${srcdir}/svcd_ogt_test_ntsc.right
fname=fsf
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'cdinfo CUE test 1'
test_cdinfo "-c ${srcdir}/vcd_demo.cue" \
vcd_demo.dump ${srcdir}/vcd_demo.right
fname=fsf-tompox
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'cdinfo CUE test 2'
fname=svcd_ogt_test_ntsc
if test -f ${srcdir}/${fname}.cue ; then
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'cdinfo CUE test 3'
fi
fname=vcd_demo
if test -f ${srcdir}/${fname}.cue ; then
test_cdinfo "-c ${srcdir}/vcd_demo.cue" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'cdinfo CUE test 4'
fi
exit $RC
#;;; Local Variables: ***

BIN
tests/fsf-tompox.bin Normal file

Binary file not shown.

13
tests/fsf-tompox.right Normal file
View File

@@ -0,0 +1,13 @@
CD Info 2.0 | (c) 2003 Gerd Knorr, Heiko Ei<45>feldt & R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__________________________________
CD-ROM Track List (1 - 1)
#: MSF LSN Type
1: 00:02:00 000000 data
170: 00:25:34 001759 leadout
__________________________________
try to find out what sort of CD this is
CD-ROM with ISO 9660 filesystem and joliet extension level 3
ISO 9660: 1744 blocks, label `Free Software Song '

12
tests/fsf.right Normal file
View File

@@ -0,0 +1,12 @@
CD Info 2.0 | (c) 2003 Gerd Knorr, Heiko Ei<45>feldt & R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__________________________________
CD-ROM Track List (1 - 1)
#: MSF LSN Type
1: 00:02:00 000000 audio
170: 01:50:20 008120 leadout
__________________________________
try to find out what sort of CD this is
Audio CD, CDDB disc ID is 02006c01

Binary file not shown.

BIN
tests/vcd_demo.bin Normal file

Binary file not shown.