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/test/check_iso.sh.in
2004-02-29 15:42:30 +00:00

33 lines
631 B
Bash

#!/bin/sh
#$Id: check_iso.sh.in,v 1.2 2004/02/29 15:42:30 rocky Exp $
if test -z $srcdir ; then
srcdir=`pwd`
fi
. ${srcdir}/check_common_fn
if test ! -x ../src/iso-info ; then
exit 77
fi
BASE=`basename $0 .sh`
fname=copying
test_iso_info "--quiet ${srcdir}/${fname}.iso --iso9660 " \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC 'iso-info test 1'
test_iso_read "--image ${srcdir}/${fname}.iso --extract $fname " \
${fname} ${srcdir}/../COPYING
RC=$?
check_result $RC 'iso-read test 1'
exit $RC
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***