#!/bin/sh -e

pkg=proda

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi

cd $AUTOPKGTEST_TMP

cp -a /usr/share/doc/${pkg}/input.mfa .
gunzip -r *

proda -L 20 input.mfa > output.aln

proda -posterior input.mfa > output.aln

proda -silent input.mfa > output.aln

proda -tran input.mfa > output.aln
