CVS maintenance

This commit is contained in:
rocky
2003-04-20 19:42:12 +00:00
parent 144802a09c
commit a14a0836a9
5 changed files with 109 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
Makefile
Makefile.in
check_opts.sh
*.dump
*.cue
*.bin

60
tests/check_cue.sh Executable file
View File

@@ -0,0 +1,60 @@
#!/bin/sh
#$Id: check_cue.sh,v 1.9 2003/04/20 19:42:12 rocky Exp $
if test -n "-lcddb" ; then
cddb_opt='--no-cddb'
fi
if test -z $srcdir ; then
srcdir=`pwd`
fi
. ${srcdir}/check_common_fn
BASE=`basename $0 .sh`
fname=cdda
testnum=CD-DA
test_cdinfo "--cue-file ${srcdir}/${fname}.cue $cddb_opt" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cdinfo CUE test $testnum"
fname=isofs-m1
testnum='ISO 9660 mode1'
if test -f ${srcdir}/${fname}.bin ; then
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cdinfo CUE test $testnum"
else
echo "Don't see CUE file ${srcdir}/${fname}.bin. Test $testum skipped."
fi
fname=vcd_demo
testnum='Video CD'
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 $testnum"
else
echo "Don't see CUE file ${srcdir}/${fname}.cue. Test $testum skipped."
fi
fname=svcd_ogt_test_ntsc
testnum='Super Video CD'
if test -f ${srcdir}/${fname}.bin ; then
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cdinfo CUE test $testnum"
else
echo "Don't see CUE file ${srcdir}/${fname}.bin. Test $testnum skipped."
fi
exit $RC
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***

13
tests/isofs-m1.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:06:02 000302 leadout
__________________________________
try to find out what sort of CD this is
CD-ROM with ISO 9660 filesystem
ISO 9660: 64 blocks, label `CDROM '