| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
. debian/tests/functions |
| 6 |
|
| 7 |
check_cdrdao_version_string |
| 8 |
check_cdrdao_help_page |
| 9 |
check_toc2cue_version_string |
| 10 |
check_toc2cddb_version_string |
| 11 |
|
| 12 |
# To make a local cd/dvd drive available in a lxc container add the |
| 13 |
# following lines to the container's config file: |
| 14 |
# lxc.cgroup2.devices.allow = b 11:0 rw |
| 15 |
# lxc.mount.entry = /dev/sr0 dev/sr0 none bind,optional,create=file 0 0 |
| 16 |
|
| 17 |
if ! is_drive_available; then |
| 18 |
echo ~~~ No cd/dvd drive found, stopping tests here. |
| 19 |
exit 0 |
| 20 |
fi |
| 21 |
|
| 22 |
get_disk_info |