X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fbasic;h=289a1b79997928c8b2edf8198bbd64c65e981856;hb=b2d9fe7ea412078a6e27f55bc0746451bf18f90f;hp=d7355786457af1e996010733699e28a59e98bcaa;hpb=37c5b03dbe70f8f3fe24d15318645e1678841879;p=monkeysphere.git diff --git a/tests/basic b/tests/basic index d735578..289a1b7 100755 --- 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: + +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 "$@"