[clojure] 01/02: Add simple autopkgtest

Elana Hashman ehashman-guest at moszumanska.debian.org
Mon Jan 15 19:05:17 UTC 2018


This is an automated email from the git hooks/post-receive script.

ehashman-guest pushed a commit to branch master
in repository clojure.

commit 0b6f0a9641e46721a8e5918e917d26ccc1bd5ea9
Author: Elana Hashman <ehashman at debian.org>
Date:   Mon Jan 15 13:50:41 2018 -0500

    Add simple autopkgtest
---
 debian/tests/control     | 2 ++
 debian/tests/run-clojure | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b1d6516
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Depends: @
+Tests: run-clojure
diff --git a/debian/tests/run-clojure b/debian/tests/run-clojure
new file mode 100644
index 0000000..5ac0f31
--- /dev/null
+++ b/debian/tests/run-clojure
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+clojure -e '(map inc [0 1 2])' | grep '(1 2 3)'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/clojure.git



More information about the pkg-java-commits mailing list