summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/basic2
1 files changed, 1 insertions, 1 deletions
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?