[DRE-commits] [ruby-mongo] 03/04: Add DEP-8 tests

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Dec 21 14:09:52 UTC 2016


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

apoikos pushed a commit to branch master
in repository ruby-mongo.

commit 1ce0bf11f5f26c6c03f9149fcb4b8df1032c9e61
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Wed Dec 21 14:58:26 2016 +0200

    Add DEP-8 tests
---
 debian/tests/ci      | 6 ++++++
 debian/tests/control | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/debian/tests/ci b/debian/tests/ci
new file mode 100755
index 0000000..50a05f1
--- /dev/null
+++ b/debian/tests/ci
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# All tests expect the socket to be accessible under /tmp, so symlink it there
+ln -s /run/mongodb/mongodb-27017.sock /tmp
+
+rspec
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0407c29
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: ci
+Depends: ruby-mongo, mongodb-server, ruby-rspec
+Restrictions: needs-root

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mongo.git



More information about the Pkg-ruby-extras-commits mailing list