#! /bin/bash # Check that Fontconfig can find all of the Bedstead fonts that should # be installed. This doesn't check the precise output of fc-list # because the test system might contain additional fonts that match # "Bedstead". set -euo pipefail cd -- "${AUTOPKGTEST_TMP}" sort >expected <actual echo "fc-list output:" cat actual comm -13 actual expected >missing if [ -s missing ]; then echo "Missing from fc-list output:" cat missing exit 1 fi