From b5f5c450f620ea647a72a533e844fb110a5d91df Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 30 Oct 2008 12:14:26 -0400 Subject: fixing check for test suite. --- tests/basic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/basic') 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? -- cgit v1.2.3