[creepy] 01/02: Add simple autopkgtest script to run the program, at the moment without DISPLAY set to see that the script actually start.
Petter Reinholdtsen
pere at moszumanska.debian.org
Thu Nov 20 08:54:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository creepy.
commit 6cc5e0825ac3d32658cd91d8e52d9cdaf898c107
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Thu Nov 20 09:51:22 2014 +0100
Add simple autopkgtest script to run the program, at the moment without DISPLAY set to see that the script actually start.
---
debian/changelog | 2 ++
debian/tests/control | 3 +++
debian/tests/test-command-line | 11 +++++++++++
3 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 504f08f..ba6810d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ creepy (1.2~alpha-1) UNRELEASED; urgency=medium
* Update package description to mention that this tool also visualizes
the collected information (Closes: #769756).
* Add myself as uploader.
+ * Add simple autopkgtest script to run the program, at the moment without
+ DISPLAY set to see that the script actually start.
-- Andreas Tille <tille at debian.org> Sun, 16 Feb 2014 11:46:28 +0100
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..bf4627a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: test-command-line
+Depends: @
+Restrictions:
diff --git a/debian/tests/test-command-line b/debian/tests/test-command-line
new file mode 100755
index 0000000..b7df9d0
--- /dev/null
+++ b/debian/tests/test-command-line
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+at_exit() {
+ echo "info: test exiting"
+}
+trap at_exit INT TERM EXIT
+
+# Test how the program run without a DISPLAY set
+DISPLAY= creepy || true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/creepy.git
More information about the Pkg-grass-devel
mailing list