Reduce overall size yet again by replaing isofs-m1 for fsf-tompox.

cdinfo: Add options for CDDB port and CDDB http enable
        fix bug if no CD in cdrom drive.
This commit is contained in:
rocky
2003-04-20 17:24:48 +00:00
parent 0eb0f06f87
commit 43a4b8ce3b
19 changed files with 82 additions and 406 deletions

29
tests/check_opts.sh Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/sh
#$Id: check_opts.sh,v 1.3 2003/04/20 17:24:49 rocky Exp $
# Check cdinfo options
if test -z "$srcdir" ; then
srcdir=`pwd`
fi
. ${srcdir}/check_common_fn
BASE=`basename $0 .sh`
fname=isofs-m1
i=0
for opt in '-T' '--no-tracks' '-A' '--no-analyze' '-I' '-no-ioctl' \
'-q' '--quiet' ; do
testname=${BASE}$i
test_cdinfo "--cue-file ${srcdir}/${fname}.cue $opt" \
${testname}.dump ${srcdir}/${testname}.right
RC=$?
check_result $RC "cdinfo option test $opt"
i=`expr $i + 1`
done
exit $RC
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***