X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fbasic;h=289a1b79997928c8b2edf8198bbd64c65e981856;hb=7833a5e9da4c6e15eea7edfc38ae122360b37f1f;hp=8e7f88a2daf83d52aa57dcb57843d752e9660911;hpb=2ae935a6dbd973730cd6e6aeb5cc5bbfc54949b5;p=monkeysphere.git diff --git a/tests/basic b/tests/basic index 8e7f88a..289a1b7 100755 --- a/tests/basic +++ b/tests/basic @@ -17,7 +17,7 @@ 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 } +which socat || { echo "You must have socat installed to run this test." ; exit 1; } ## FIXME: other checks?