projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a874c
)
add checks to make sure that the test suite will be able to run.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 30 Oct 2008 16:10:27 +0000
(12:10 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 30 Oct 2008 16:10:27 +0000
(12:10 -0400)
tests/basic
patch
|
blob
|
history
diff --git
a/tests/basic
b/tests/basic
index d7355786457af1e996010733699e28a59e98bcaa..8e7f88a2daf83d52aa57dcb57843d752e9660911 100755
(executable)
--- a/
tests/basic
+++ b/
tests/basic
@@
-14,6
+14,13
@@
# all subcommands in this script should complete without failure:
set -e
+## make sure that the right tools are installed to run the test. the
+## test has *more* requirements than plain ol' monkeysphere:
+
+[ -x $(which socat) ] || { echo "You must have socat installed to run this test." && exit 1 }
+
+## FIXME: other checks?
+
# gpg command for test admin user
gpgadmin() {
GNUPGHOME="$TEMPDIR"/admin/.gnupg gpg "$@"