#!/bin/sh # This is just running the upstream tests against the installed # package. set -eu # Copy tests echo Copying tests cp -a tests stinit.def.examples Makefile "$AUTOPKGTEST_TMP/" # Symlink the installed binaries echo Symlinking the package binaries ln -s /usr/bin/mt-st "$AUTOPKGTEST_TMP/mt" ln -s /usr/sbin/stinit "$AUTOPKGTEST_TMP/stinit" # And then run tests echo Running tests cd "$AUTOPKGTEST_TMP" make check