[Pkg-javascript-commits] [node-on-headers] 05/06: Add autopkgtest suite
Leo Iannacone
l3on-guest at moszumanska.debian.org
Fri Oct 10 14:15:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
l3on-guest pushed a commit to branch master
in repository node-on-headers.
commit 728f143efd29ca3f28c088bc1abf269a2bd4bd93
Author: Leo Iannacone <l3on at ubuntu.com>
Date: Fri Oct 10 16:11:45 2014 +0200
Add autopkgtest suite
---
debian/control | 1 +
debian/tests/control | 2 ++
debian/tests/require | 3 +++
3 files changed, 6 insertions(+)
diff --git a/debian/control b/debian/control
index d20c238..66ffb57 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
, node-mocha
Standards-Version: 3.9.6
Homepage: https://github.com/expressjs/on-headers
+XS-Testsuite: autopkgtest
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-on-headers.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-on-headers.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f862386
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-on-headers
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..8981427
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('on-headers');"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-on-headers.git
More information about the Pkg-javascript-commits
mailing list