/usr/share/doc/macsyfinder/run-unit-test is in macsyfinder 1.0.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/bash
set -e
pkg="macsyfinder"
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
find . -name "*.gz" -exec gunzip \{\} \;
echo "TEST START"
/usr/bin/macsyfinder --db-type unordered --sequence-db test_base.fa all
/usr/bin/macsyfinder --db-type ordered_replicon --sequence-db ordered_replicon_base all
echo "PASS"
|