Source: nginx Version: 1.6.0-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu utopic ubuntu-patch
Smoke dep8 test for nginx attached (http://dep.debian.net/deps/dep8/). This helps me quickly check that nothing is fundamentally broken in nginx packaging in Ubuntu. It should be useful for Debian as well. Since Debian doesn't currently have the nginx-core package, you probably want to s/nginx-core/nginx-full/ in debian/tests/control before applying this.
From 8d0337fda6dcc9946ca0280a63634368cac6b007 Mon Sep 17 00:00:00 2001 From: Robie Basak <robie.ba...@canonical.com> Date: Tue, 29 Jul 2014 12:13:42 +0000 Subject: [PATCH 4/8] * Add dep8 smoke test --- 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..d662282 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: smoke +Depends: nginx-core, curl +Restrictions: allow-stderr breaks-testbed 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