#!/bin/sh

set -e

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

cp -rv tests "$ADTTMP"
cd "$ADTTMP"
mkdir -v libarchive
touch README.rst
py.test tests -vv -l -r a
py.test-3 tests -vv -l -r a
