#!/bin/sh
set -C -e -f -u

# A full testsuite (test/run.sh) is run (by debian/rules) right after
# the build , but this test is run periodically so we only check that
# basic functionnality is available.
TEST_CASE=tfw_formats
cp test/conf/$TEST_CASE.aru test/$TEST_CASE.adb "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
result=0
adactl -f $TEST_CASE.aru $TEST_CASE.adb || result=$?
test $result = 1
