Fix autopkgtest
Andreas Tille
1 year, 5 months ago
2 | 2 |
# Author: Sascha Steinbiss <satta@debian.org>
|
3 | 3 |
set -e
|
4 | 4 |
|
5 | |
ORIGDIR=$(pwd)
|
6 | |
DATADIR=$ORIGDIR/t/data/genbank_gbff
|
|
5 |
pkg=roary
|
7 | 6 |
|
8 | 7 |
export LC_ALL=C.UTF-8
|
9 | 8 |
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
|
|
13 | 12 |
|
14 | 13 |
cd $AUTOPKGTEST_TMP
|
15 | 14 |
|
16 | |
cp $DATADIR/*.gff .
|
|
15 |
cp -a /usr/share/doc/${pkg}/examples/* .
|
|
16 |
cp -a /usr/share/doc/${pkg}/expected_files.out .
|
17 | 17 |
|
18 | 18 |
# DEBUG: roary issues "Cannot find the mcxdeblast executable, please ensure its in your PATH" thus checking ...
|
19 | 19 |
which mcxdeblast
|
|
22 | 22 |
|
23 | 23 |
[ -d out ]
|
24 | 24 |
|
25 | |
find out | LC_ALL=C sort | diff - $ORIGDIR/debian/tests/expected_files.out
|
|
25 |
find out | LC_ALL=C sort | diff - expected_files.out
|