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_opts.sh

31 lines
644 B
Bash
Raw Normal View History

#!/bin/sh
#$Id: check_opts.sh,v 1.1 2003/04/14 08:51:14 rocky Exp $
# Check cdinfo options
if test -z $srcdir ; then
srcdir=`pwd`
fi
. ${srcdir}/check_common_fn
BASE=`basename $0 .sh`
fname=fsf
opts=('-T' '--no-tracks' '-A', '--no-analyze' '-I' '-no-ioctl'
'-q' '--quiet')
for (( i=0 ; i<${#opts[@]} ; i++ )) ; do
testname=${BASE}$i
test_cdinfo "--cue-file ${srcdir}/${fname}.cue --no-cddb ${opts[$i]}" \
${testname}.dump ${srcdir}/${testname}.right
RC=$?
check_result $RC "cdinfo option test $i"
done
exit $RC
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***