This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
libcdio-osx/tests/check_cue.sh

46 lines
995 B
Bash
Raw Normal View History

2003-03-24 19:01:09 +00:00
#!/bin/sh
#$Id: check_cue.sh,v 1.4 2003/04/14 08:51:14 rocky Exp $
2003-03-24 19:01:09 +00:00
if test -z $srcdir ; then
srcdir=`pwd`
fi
. ${srcdir}/check_common_fn
BASE=`basename $0 .sh`
fname=fsf
test_cdinfo "--cue-file ${srcdir}/${fname}.cue --no-cddb" \
${fname}.dump ${srcdir}/${fname}.right
2003-03-24 19:01:09 +00:00
RC=$?
check_result $RC 'cdinfo CUE test 1'
fname=fsf-tompox
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
${fname}.dump ${srcdir}/${fname}.right
2003-03-24 19:01:09 +00:00
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
2003-03-24 19:01:09 +00:00
exit $RC
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***