Source: nginx Version: 1.6.1-1 Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu utopic ubuntu-patch
I've added the following quick dep8 smoke test to Ubuntu, so that I can quickly validate merges. I believe this is also applicable to Debian. Please consider adding it. One minor change I've made to the patch from Debian is to s/nginx-core/nginx-light/, as you don't have a nginx-core binary package. Thanks! --- debian/control | 1 + debian/tests/control | 3 +++ debian/tests/smoke | 4 ++++ 3 files changed, 8 insertions(+) create mode 100644 debian/tests/control create mode 100644 debian/tests/smoke diff --git a/debian/control b/debian/control index 1883c86..2194932 100644 --- a/debian/control +++ b/debian/control @@ -28,6 +28,7 @@ Standards-Version: 3.9.5 Homepage: http://nginx.net Vcs-Git: git://anonscm.debian.org/collab-maint/nginx.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/nginx.git;a=summary +XS-Testsuite: autopkgtest Package: nginx Architecture: all diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..6f2b5d4 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: smoke +Depends: nginx-light, curl +Restrictions: allow-stderr isolation-container diff --git a/debian/tests/smoke b/debian/tests/smoke new file mode 100644 index 0000000..f85dc7a --- /dev/null +++ b/debian/tests/smoke @@ -0,0 +1,4 @@ +#!/bin/sh +set -ex + +curl -sf http://localhost -- 1.9.rc1
signature.asc
Description: Digital signature