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.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit