Merge "run-tests-on-android.sh: fix tty test."
diff --git a/run-tests-on-android.sh b/run-tests-on-android.sh
index 65fa6f9..f6bd800 100755
--- a/run-tests-on-android.sh
+++ b/run-tests-on-android.sh
@@ -13,7 +13,7 @@
 # Make a temporary directory on the device.
 tmp_dir=`adb shell mktemp --directory /data/local/tmp/toybox-tests-tmp.XXXXXXXXXX`
 
-if [ tty -s ]; then
+if tty -s; then
   green="\033[1;32m"
   red="\033[1;31m"
   plain="\033[0m"