#!/bin/sh

set -e

at_exit() {
    echo "info: test exiting"
}
trap at_exit INT TERM EXIT

cp test_first.py $AUTOPKGTEST_TMP

# Switch to the tmp directory
cd $AUTOPKGTEST_TMP

if python3 test_first.py 2>&1; then
  echo "success: test ran without error"
else
  echo "failure: test returned error"
fi
