[med-svn] [Git][med-team/covtobed][master] Write autopkgtest
Shayan Doust
gitlab at salsa.debian.org
Thu Jun 4 13:46:16 BST 2020
Shayan Doust pushed to branch master at Debian Med / covtobed
Commits:
7a00a9cc by Shayan Doust at 2020-06-04T13:46:02+01:00
Write autopkgtest
- - - - -
1 changed file:
- debian/tests/run-unit-test
Changes:
=====================================
debian/tests/run-unit-test
=====================================
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
-pkg=#PACKAGENAME#
+pkg=covtobed
export LC_ALL=C.UTF-8
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
@@ -12,8 +12,10 @@ if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi
-cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+cp -a /usr/share/doc/${pkg}-examples/examples/* "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"
-#do_stuff_to_test_package#
+find . -name "*.gz" -exec gunzip {\} \;
+
+bash test.sh
View it on GitLab: https://salsa.debian.org/med-team/covtobed/-/commit/7a00a9cc12e7099482f0acf57f3c949446613cf3
--
View it on GitLab: https://salsa.debian.org/med-team/covtobed/-/commit/7a00a9cc12e7099482f0acf57f3c949446613cf3
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200604/6a50dd90/attachment-0001.html>
More information about the debian-med-commit
mailing list