File: run-unit-test

package info (click to toggle)
dialign 2.2.1-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,180 kB
  • sloc: ansic: 4,894; xml: 401; makefile: 35; sh: 12
file content (22 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (4)
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="dialign"

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

# General remark examples

/usr/bin/dialign2-2 -nt -n example.fa
cat example.ali

/usr/bin/dialign2-2 -n -nt example.fa
cat example.ali

echo "PASS"