X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fbasic;h=289a1b79997928c8b2edf8198bbd64c65e981856;hb=b2d9fe7ea412078a6e27f55bc0746451bf18f90f;hp=fd1bfb0549be6b4240e87e10fb659d56613a1569;hpb=3763a9e47383e1e3c801726c151a3e10fd8ee859;p=monkeysphere.git diff --git a/tests/basic b/tests/basic index fd1bfb0..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?