/usr/share/doc/paleomix/run-unit-test is in paleomix 1.2.12-1.
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 18 19 20 21 22 | #!/bin/bash
set -e
pkg="paleomix"
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
# trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
fi
cp -a /usr/share/doc/${pkg}/tests $ADTTMP
cd $ADTTMP
for gz in `find . -name "*.gz"` ; do
# fasta_file.fasta.gz needs to stay compressed for testing
if ! echo $gz | grep fasta_file.fasta.gz ; then
gunzip $gz
fi
done
tox
|