[med-svn] [ariba] 05/05: add autopkgtest
Sascha Steinbiss
sascha at steinbiss.name
Sun May 29 12:15:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository ariba.
commit 97086d2888065627acbe368d534977f3b5ce8ea2
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date: Sun May 29 12:01:27 2016 +0000
add autopkgtest
---
debian/tests/control | 3 +++
debian/tests/test-example | 13 +++++++++++++
2 files changed, 16 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..49d3f07
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: test-example
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/test-example b/debian/tests/test-example
new file mode 100755
index 0000000..9b9ba7d
--- /dev/null
+++ b/debian/tests/test-example
@@ -0,0 +1,13 @@
+#!/bin/sh
+# autopkgtest check: Run bundled ARIBA test case
+# Author: Sascha Steinbiss <sascha at steinbiss.name>
+set -e
+
+ORIGDIR=$(pwd)
+DATADIR=$ORIGDIR/debian/tests/
+WORKDIR=$(mktemp -d)
+
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+
+ariba test ./foo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ariba.git
More information about the debian-med-commit
mailing list