#!/bin/sh

pkg=terraphast

if [ "$AUTOPKGTEST_TMP" = "" ]; then

	AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`
	trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM

fi

cd $AUTOPKGTEST_TMP

# Get data
cp -a /usr/share/doc/${pkg}/examples/* .

# Enumerate terraces in phylogenetic tree space
terraphast Meusemann.nwk Meusemann.data

# Remove data
rm Meusemann.*
