#!/bin/sh exec 2>&1 set -e cp tests/data/inputfiles/test.ogg "$AUTOPKGTEST_TMP"/ cd "$AUTOPKGTEST_TMP" test_classic_output() { in=test.ogg out=video.mp4 for py in $(py3versions -s); do echo "testing with $py:" rm -vf $out xvfb-run -a $py $(command -v avp) -i $in -o $out -c 0 vis layout=classic assertEquals "video/mp4" "$(file --mime-type --brief $out)" done } . shunit2