#!/bin/sh

set -e

. debian/tests/functions

check_cdrdao_version_string
check_cdrdao_help_page
check_toc2cue_version_string
check_toc2cddb_version_string

# To make a local cd/dvd drive available in a lxc container add the
# following lines to the container's config file:
#   lxc.cgroup2.devices.allow = b 11:0 rw
#   lxc.mount.entry = /dev/sr0 dev/sr0 none bind,optional,create=file 0 0

if ! is_drive_available; then
	echo ~~~ No cd/dvd drive found, stopping tests here.
	exit 0
fi

get_disk_info
