commit | 7a3a808175a6d0c3492eb668ec008d5a570fecb1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jul 09 15:54:16 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jul 09 15:54:16 2019 +0000 |
tree | 9458e769725ad6ae55af841f80e7d361a38d533d | |
parent | b79af11d816534ad1d8868b2f85dc9041f38e140 [diff] | |
parent | 6f8fa1ee20c33e27bdd5f750de22321911a5294c [diff] |
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"