Loading debian/tests/run-unit-tests 0 → 100755 +35 −0 Original line number Diff line number Diff line #!/bin/bash set -e pkg=cdbfasta if [ "${AUTOPKGTEST_TMP}" = "" ] ; then AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX) # Double quote below to expand the temporary directory variable now versus # later is on purpose. # shellcheck disable=SC2064 # trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM fi cp /usr/share/doc/${pkg}/examples/* -a "${AUTOPKGTEST_TMP}" cd "${AUTOPKGTEST_TMP}" gunzip -r * # Just for debugging set -x # Create the index file for a multi-FASTA cdbfasta # Pull records based on the index file cdbyank # Retrieve records from the database file cdbyank -a '' # Retrieve specific sequence ranges cdbyank -a '' <right_coo> <left_coo> # Test the compression Loading
debian/tests/run-unit-tests 0 → 100755 +35 −0 Original line number Diff line number Diff line #!/bin/bash set -e pkg=cdbfasta if [ "${AUTOPKGTEST_TMP}" = "" ] ; then AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX) # Double quote below to expand the temporary directory variable now versus # later is on purpose. # shellcheck disable=SC2064 # trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM fi cp /usr/share/doc/${pkg}/examples/* -a "${AUTOPKGTEST_TMP}" cd "${AUTOPKGTEST_TMP}" gunzip -r * # Just for debugging set -x # Create the index file for a multi-FASTA cdbfasta # Pull records based on the index file cdbyank # Retrieve records from the database file cdbyank -a '' # Retrieve specific sequence ranges cdbyank -a '' <right_coo> <left_coo> # Test the compression