Add a single NRG test.

This commit is contained in:
rocky
2003-04-24 02:45:04 +00:00
parent ae87efabf3
commit b4a6bc22c5
3 changed files with 31 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# $Id: Makefile.am,v 1.1 2003/04/22 12:09:09 rocky Exp $
# $Id: Makefile.am,v 1.2 2003/04/24 02:45:04 rocky Exp $
#
# Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
#
@@ -23,6 +23,7 @@
check_SCRIPTS = check_nrg.sh check_cue.sh check_opts.sh
check_DATA = vcd_demo.right \
videocd.right videocd.nrg \
cdda.right cdda.cue cdda.bin \
isofs-m1.right isofs-m1.cue isofs-m1.bin \
check_opts0.right check_opts1.right check_opts2.right \

View File

@@ -1,5 +1,5 @@
#!/bin/sh
#$Id: check_nrg.sh,v 1.1 2003/04/22 12:09:09 rocky Exp $
#$Id: check_nrg.sh,v 1.2 2003/04/24 02:45:04 rocky Exp $
if test -z $srcdir ; then
srcdir=`pwd`
@@ -7,6 +7,14 @@ fi
. ${srcdir}/check_common_fn
BASE=`basename $0 .sh`
fname=videocd
test_cdinfo "--nrg-file ${srcdir}/${fname}.nrg" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'cdinfo NRG test 1'
BASE=`basename $0 .sh`
nrg_file=${srcdir}/monvoisin.nrg

20
test/videocd.right Normal file
View File

@@ -0,0 +1,20 @@
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 - 5)
#: MSF LSN Type
1: 00:02:00 000000 XA
2: 00:13:01 000826 XA
3: 00:16:01 001051 XA
4: 00:19:01 001276 XA
5: 00:22:01 001501 XA
170: 00:25:01 001726 leadout
__________________________________
try to find out what sort of CD this is
CD-ROM with CD-RTOS and ISO 9660 filesystem
ISO 9660: 676 blocks, label `SVIDEOCD '
XA sectors
session #2 starts at track 2, LSN: 826, ISO 9660 blocks: 676
ISO 9660: 676 blocks, label `<60><05>9 P <09><><EFBFBD>@M4H'