[med-svn] [Git][med-team/epcr][master] initial commit for autopkgtest added

manas kashyap gitlab at salsa.debian.org
Fri Oct 5 16:54:06 BST 2018


manas kashyap pushed to branch master at Debian Med / epcr


Commits:
0a5f5d86 by Manas Kashyap at 2018-10-05T15:53:44Z
initial commit for autopkgtest added

- - - - -


2 changed files:

- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/tests/control
=====================================
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
+


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+
+pkg=epcr
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+
+#do_stuff_to_test_package#
+



View it on GitLab: https://salsa.debian.org/med-team/epcr/commit/0a5f5d864183808c70bd8b557f57c0fbb935104a

-- 
View it on GitLab: https://salsa.debian.org/med-team/epcr/commit/0a5f5d864183808c70bd8b557f57c0fbb935104a
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/20181005/2ed208da/attachment.html>


More information about the debian-med-commit mailing list