diff options
-rwxr-xr-x | tests/basic | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic index d735578..8e7f88a 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: + +[ -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 "$@" |