#!/bin/sh

set -e

if ! [ -d "$ADTTMP" ]; then
	echo "ADTTMP not set." >&2
	exit 1
fi

export LIBGUESTFS_MEMSIZE=128

cp -r tests $ADTTMP
(cd $ADTTMP; py.test-3 -vv -l -r a)
