#!/bin/bash
set -e

pkg=clonalorigin

export LC_ALL=C.UTF-8
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}"

# test directly inspired from warg/src/Makefile.am
echo '$ warg -s 532772982 -w 10000 -x 100 -y 50 -z 10000 testout'
warg -s 532772982 -w 10000 -x 100 -y 50 -z 10000 testout
