fixing check for test suite.
[monkeysphere.git] / tests / basic
index d7355786457af1e996010733699e28a59e98bcaa..289a1b79997928c8b2edf8198bbd64c65e981856 100755 (executable)
 # 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 "$@"