/usr/share/doc/plast/example/run-unit-test is in plast-example 2.3.1+dfsg-4.
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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #!/bin/sh -e
pkg=plast
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp -a /usr/share/doc/${pkg}/example/db .
find . -type f -name "*.gz" -exec gunzip \{\} \;
#/*****************************************************************************
# * *
# * PLAST : Parallel Local Alignment Search Tool *
# * Copyright (c) 2009-2015 Inria *
# * *
# * PLAST is free software; you can redistribute it and/or modify it under *
# * the Affero GPL v3 License *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * CECILL version 2 License for more details. *
# *****************************************************************************/
# We get the directory of the script (absolute path)
_result=$(pwd)/db/out.txt
echo "Start PLAST..."
echo
# We setup a PLAST command-line and run it to test the software
_cmdline="/usr/bin/plast -p plastp -i db/query.fa -d db/tursiops.fa -o $_result"
echo $_cmdline
eval $_cmdline
echo
echo " done!"
echo
echo "Read:" $_result
echo
echo
|