#!/bin/sh

set -e

if [ ! -f 'debian/tests/control' ]; then
	echo 'No debian/tests/control file; is this being run from the correct directory?' 1>&2
	exit 1
elif [ ! -f 'test-pslist' ]; then
	echo 'No upstream test-pslist file; is this being run from the correct directory?' 1>&2
	exit 1
fi

./test-pslist
