Test for presence of vcd_demo.bin, not vcd_demo.cue to see if

we can run this regression test.
This commit is contained in:
rocky
2004-05-06 01:22:13 +00:00
parent a41b31b805
commit 697cbc32d2

View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
#$Id: check_cue.sh.in,v 1.16 2004/05/04 02:06:49 rocky Exp $ #$Id: check_cue.sh.in,v 1.17 2004/05/06 01:22:13 rocky Exp $
# Tests to see that BIN/CUE and BIN/TOC file iamge reading is correct # Tests to see that BIN/CUE and BIN/TOC file iamge reading is correct
# (via cd-info). # (via cd-info).
@@ -64,24 +64,24 @@ else
right=${srcdir}/${fname}_vcdinfo.right right=${srcdir}/${fname}_vcdinfo.right
fi fi
testnum='Video CD' testnum='Video CD'
if test -f ${srcdir}/${fname}.cue ; then if test -f ${srcdir}/${fname}.bin ; then
test_cdinfo "-q -c ${srcdir}/vcd_demo.cue --iso9660" \ test_cdinfo "-q -c ${srcdir}/vcd_demo.cue --iso9660" \
${fname}.dump $right ${fname}.dump $right
RC=$? RC=$?
check_result $RC "cd-info CUE test $testnum" check_result $RC "cd-info CUE test $testnum"
if test -f ${srcdir}/${fname}.toc ; then
test_cdinfo "-q -t ${srcdir}/vcd_demo.toc --iso9660" \
${fname}.dump $right
RC=$?
check_result $RC "cd-info TOC test $testnum"
else
echo "Don't see TOC file ${srcdir}/${fname}.toc. Test $testnum skipped."
fi
else else
echo "Don't see CUE file ${srcdir}/${fname}.cue. Test $testnum skipped." echo "Don't see CUE file ${srcdir}/${fname}.cue. Test $testnum skipped."
fi fi
if test -f ${srcdir}/${fname}.toc ; then
test_cdinfo "-q -t ${srcdir}/vcd_demo.toc --iso9660" \
${fname}.dump $right
RC=$?
check_result $RC "cd-info TOC test $testnum"
else
echo "Don't see TOC file ${srcdir}/${fname}.toc. Test $testnum skipped."
fi
fname=svcd_ogt_test_ntsc fname=svcd_ogt_test_ntsc
testnum='Super Video CD' testnum='Super Video CD'
if test -f ${srcdir}/${fname}.bin ; then if test -f ${srcdir}/${fname}.bin ; then