#!/bin/sh set -eu # tests must be run with binary in build output folder # https://github.com/godotengine/godot/issues/97475#issuecomment-2376339183 mkdir -p bin cp /usr/bin/godot-template-release bin/ # avoid writing in home directory during test # See Debian Bug #986665 XDG_CONFIG_HOME="${AUTOPKGTEST_TMP}/config" \ XDG_DATA_HOME="${AUTOPKGTEST_TMP}/data" \ XDG_CACHE_HOME="${AUTOPKGTEST_TMP}/cache" \ ./bin/godot-template-release --test