#!/bin/bash -eux
set -o pipefail

apt-get update
apt-get -y --no-install-recommends install python3-pip procps

cd /mnt
dpkg -i dist/*.deb
pip3 install -r requirements-dev.txt
pytest tests/

exec dumb-init /mnt/tests/test-zombies
