#!/bin/sh -e

pkg=dawg

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

echo "Upstream will clarify the test suite as it was requested in"
echo "   https://github.com/reedacartwright/dawg/issues/56"
echo "For the moment the test is marked superficial and just passes."
exit 0

cd $AUTOPKGTEST_TMP

cp -a /usr/share/doc/${pkg}/tests/* .
find . -type f -name "*.gz" -exec gunzip \{\} \;
for sh in *.sh ; do
   sh $sh
done
