#!/bin/sh # smoke test for "dot" # Author: Martin Pitt set -eu cat < $AUTOPKGTEST_TMP/simple.dot digraph { One -> Two Two -> Three Three -> One } EOF dot -Tpng $AUTOPKGTEST_TMP/simple.dot > $AUTOPKGTEST_TMP/simple.png file $AUTOPKGTEST_TMP/simple.png | grep -q "PNG image data"