#!/bin/sh set -eux # Make a very simple iso with a volid xorrisofs -o file.iso -V "test-pycdlib-volid" || exit 1 python3 ./test-pycdlib.py file.iso "test-pycdlib-volid" || exit 1 # Run a couple of the example scripts python3 /usr/share/doc/python3-pycdlib/examples/create-bootable.py || exit 1 file eltorito.iso | grep bootable || exit 1 python3 /usr/share/doc/python3-pycdlib/examples/create-new.py || exit 1 file new.iso | grep "ISO 9660 CD-ROM" || exit 1