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