summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-21 16:17:46 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-21 16:17:46 -0500
commit29c9d56d32df40c947b8cb2e67987b682b5184fe (patch)
treee671a299cca453e7a9b048b01391f62c23a0bcbb /tests/basic
parent710cc816f9fe491ea36055bade9843e9eeb0cc7e (diff)
added new explicit checks for relevant perl modules in tests/basic.
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic
index f76a265..c7c4b07 100755
--- a/tests/basic
+++ b/tests/basic
@@ -28,6 +28,14 @@ source "$TESTDIR"/common
## test has *more* requirements than plain ol' monkeysphere:
which socat >/dev/null || { echo "You must have socat installed to run this test." ; exit 1; }
+perl -MCrypt::OpenSSL::RSA -e 1 2>/dev/null || { echo "You must have the perl module Crypt::OpenSSL::RSA installed to run this test.
+On debian-derived systems, you can set this up with:
+ apt-get install libcrypt-openssl-rsa-perl" ; exit 1; }
+
+
+perl -MDigest::SHA1 -e 1 2>/dev/null || { echo "You must have the perl module Digest::SHA1 installed to run this test.
+On debian-derived systems, you can set this up with:
+ apt-get install libdigest-sha1-perl" ; exit 1; }
## FIXME: other checks?