[lbt] 01/01: +package test
Ralf Treinen
treinen at moszumanska.debian.org
Tue Dec 6 19:38:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
treinen pushed a commit to branch master
in repository lbt.
commit 1aae9a74db3f2e580fe45b20665108d3458c06b7
Author: Ralf Treinen <treinen at free.fr>
Date: Tue Dec 6 20:28:32 2016 +0100
+package test
---
debian/changelog | 7 ++++---
debian/tests/control | 1 +
debian/tests/expected-output | 15 +++++++++++++++
debian/tests/upstream | 6 ++++++
4 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6fec4ef..5db7947 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,11 @@
-lbt (1.2.2-6) UNRELEASED; urgency=medium
+lbt (1.2.2-6) unstable; urgency=medium
* added debian/watch
* debian/copyright: convert to machine-readable format 1.0
* install docs in /usr/share/docs/lbt:
- added debian/lbt.docs
- changed file location in lbt.doc-base
- * drop debian/lbt.dirs which is no longer useful
+ - dropped debian/lbt.dirs which is no longer useful
* debian/rules: rewrite, using dh
* debhelper compat level 10:
- bump debian/compat
@@ -14,8 +14,9 @@ lbt (1.2.2-6) UNRELEASED; urgency=medium
* added Vcs-{Git,Browser}fields
* patch compiler-flags: honour CFLAGS and CXXFLAGS values passed to
Makefile, use CPPFLAGS
+ * add as-installed package test, using an example from the lbt manpage
- -- Ralf Treinen <treinen at debian.org> Tue, 06 Dec 2016 09:12:09 +0100
+ -- Ralf Treinen <treinen at debian.org> Tue, 06 Dec 2016 20:25:48 +0100
lbt (1.2.2-5) unstable; urgency=low
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f08221c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: upstream
diff --git a/debian/tests/expected-output b/debian/tests/expected-output
new file mode 100644
index 0000000..9aaf280
--- /dev/null
+++ b/debian/tests/expected-output
@@ -0,0 +1,15 @@
+4 1
+0 1 -1
+1 ! p0
+3 t
+-1
+1 0 0 -1
+2 t
+-1
+2 0 0 -1
+2 t
+-1
+3 0 -1
+1 ! p0
+3 t
+-1
diff --git a/debian/tests/upstream b/debian/tests/upstream
new file mode 100755
index 0000000..31c47f1
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,6 @@
+#!/bin/sh
+# test from the lbt manpage
+
+set -e
+
+echo '! G p0' | lbt | diff -q - debian/tests/expected-output
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lbt.git
More information about the debian-science-commits
mailing list