#!/bin/sh

set -e

export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP/run"
mkdir -m 700 "$XDG_RUNTIME_DIR"

cd $AUTOPKGTEST_TMP

xvfb-run -a /usr/bin/qlcplus --help | grep -qs "Q Light Controller Plus"
xvfb-run -a /usr/bin/qlcplus-fixtureeditor --help | grep -qs "Q Light Controller Plus"
